Medium severity4.7NVD Advisory· Published Dec 6, 2026
CVE-2026-145817
CVE-2026-145817
Description
Setuptools through 84.2.1 contains an exclusion bypass vulnerability in build_py.exclude_data_files and discovery._Filter because exclude_package_data and find_packages patterns use byte-exact fnmatch without Unicode normalization. NFD file or package names on disk fail to match NFC patterns, so author-excluded data files or packages are silently included in published wheels or source distributions.
Affected products
1- Range: <=84.2.1
Patches
Vulnerability mechanics
References
5- github.com/pypa/setuptools/blob/v84.2.1/setuptools/command/build_py.pynvd
- github.com/pypa/setuptools/blob/v84.2.1/setuptools/discovery.pynvd
- github.com/pypa/setuptools/pull/5375nvd
- github.com/pypa/setuptools/pull/5398nvd
- www.vulncheck.com/advisories/setuptools-through-84.2.1-exclude-pattern-bypass-via-unicode-normalization-mismatchnvd
News mentions
0No linked articles in our index yet.