PyPI
CVE-2026-145817
Setuptools through 84.2.1 Exclude Pattern Bypass via Unicode Normalization Mismatch
- Severity
- Medium 5.7
- Published
- 6 Dec 2026
- Last changed
- 6 Dec 2026
- Added to UpHeron
- 6 Dec 2026
- Weakness
- CWE-176
- Attack
- Needs local access · Only under certain conditions · No login needed · Needs someone to view a page or file
- Attacker can
- Read data
- CVSS vector
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N- Sources
- CVE Program
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 software
| Software | Affected versions |
|---|---|
setuptoolsPyPI · osv:PyPI:setuptools |
|
About setuptools
This is the only vulnerability in setuptools in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-145817