Skip to main content
CVE-2026-59890VulnerabilityPublished Updated

sdist · setuptools: MANIFEST.in exclusion bypass

Affects snapcraftSource GCVE Database

0
Compare
Authoritative record:CVE-2026-59890· Medium 6.1

Not known to be exploited · CVSS 6.1 Medium : upgrade to 9.1.1 or 8.0.1 when convenient.

Data as of 4 Dec 2026, 18:45 UTC

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 46% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 9.1.1, 8.0.1, 83.0.0
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Jul 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 4 Dec 2026.

What to do

Upgrade snapcraft to 9.1.1 or 8.0.1; setuptools to 83.0.0.

Affected software

ProductAffectedFixed in
Homebrewsnapcraftpkg:brew/snapcraftOther threatsAffected
  • >=7.3.1_1 <8.0.1
  • >=8.0.3 <9.1.1
Fixed in
  • 8.0.1
  • 9.1.1
PyPIsetuptoolspkg:pypi/setuptoolsOther threatsAffected
  • <83.0.0
Fixed in
  • 83.0.0

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

AI-suggested

A fix is available in setuptools versions 8.0.1 and 9.1.1 that normalizes both the on-disk file names and MANIFEST.in patterns to a canonical Unicode form before matching. Users should upgrade to these fixed versions to prevent exclusion bypass. Until upgrading, maintainers should be aware that MANIFEST.in exclusions are normalization-insensitive on macOS and consider erring on the side of excluding more files. No other specific mitigations are required.

Description

A Unicode normalization issue in setuptools' handling of MANIFEST.in exclusions can cause files intended to be excluded from source distributions to be included instead on macOS APFS/HFS+ filesystems. This occurs because the matching of file names against MANIFEST.in patterns is done byte-for-byte without Unicode normalization, causing NFC-formatted patterns to not match NFD-formatted file names. This can lead to unintended disclosure of files containing secrets or private data when publishing to PyPI.

References

Community reviews

Loading reviews…