Skip to main content
VulnerabilityPublished

CVE-2026-145817: pypa setuptools · Improper Handling of Unicode Encoding

Affects pypa setuptoolsSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.7 Medium.

Data as of 6 Dec 2026, 18:41 UTC

CVSS 4.0 base score
5.7Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.05.7
CNA (VulnCheck)CVSS 3.14.7
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 6 Dec 2026.

What to do

Affected software

ProductAffectedFixed in
pypasetuptoolsAffected
  • <=84.2.1
Fixed in–
PyPIsetuptoolspkg:pypi/setuptoolsOther threatsAffected
  • <=84.2.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Until a fix is available, authors should be aware of this limitation when specifying exclusion patterns and verify the contents of published distributions carefully.

Description

CVE-2026-145817 is a medium severity vulnerability in pypa setuptools up to version 84.2.1. It involves improper handling of Unicode encoding in the exclusion logic of build_py.exclude_data_files and discovery._Filter. Specifically, the exclusion patterns use byte-exact fnmatch without Unicode normalization, causing NFD (Normalization Form D) file or package names on disk to fail matching NFC (Normalization Form C) patterns. This results in author-excluded data files or packages being silently included in published wheels or source distributions.

References

Community reviews

Loading reviews…