Setuptools through 84.2.1 contains an exclusion bypass vulnerability in buildpy.excludedatafiles and discovery.Filter because…
CVE-2026-145817
Setuptools through 84.2.1 contains an exclusion bypass vulnerability in buildpy.excludedatafiles and discovery.Filter because excludepackagedata and findpackages 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.
Assessment
- CVSS
- 5.7 (v4.0)
- Severity
- Medium
- EPSS
- 0% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 6 December 2026
- Last updated
- 6 December 2026
- Affected
- pypa · setuptools
- Weakness
- CWE-176
- Assigner
- disclosure@vulncheck.com
CVSS vectorCVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
At the source
References
- https://github.com/pypa/setuptools/blob/v84.2.1/setuptools/command/build_py.py#L284-L298
- https://github.com/pypa/setuptools/blob/v84.2.1/setuptools/discovery.py#L68-L78
- https://github.com/pypa/setuptools/pull/5375
- https://github.com/pypa/setuptools/pull/5398
- https://www.vulncheck.com/advisories/setuptools-through-84.2.1-exclude-pattern-bypass-via-unicode-normalization-mismatch
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-145817