sdist · setuptools: MANIFEST.in exclusion bypass
Affects pytorchSource GCVE Database
Not known to be exploited · CVSS 6.1 Medium : upgrade to 2.13.0 when convenient.
Data as of 31 Oct 2026, 16:05 UTC
- Patch
- Available – fixed in 2.13.0
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 8 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 30 Oct 2026.
What to do
Upgrade pytorch to 2.13.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewpytorchpkg:brew/pytorchOther threats | Affected
| Fixed in
|
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 version 2.13.0 that normalizes both the MANIFEST.in patterns and on-disk filenames to a canonical Unicode form before matching. Users should upgrade to setuptools 2.13.0 or later to resolve this issue. Until upgrading, maintainers should be aware that MANIFEST.in exclusions involving non-ASCII filenames may not work correctly on macOS APFS/HFS+ filesystems. No other mitigation is documented.
Description
A Unicode normalization mismatch in setuptools' handling of MANIFEST.in exclusions can cause files intended to be excluded from source distributions to be included instead. This occurs on macOS APFS/HFS+ filesystems where filenames are stored in NFD form but MANIFEST.in patterns are typically in NFC form, leading to silent exclusion bypass. The issue affects non-ASCII filenames and can result in unintended disclosure of secret or private files when publishing to PyPI. ASCII-only exclusions are unaffected. A fix is available in setuptools 2.13.0.
References
- github.com/pypa/setuptools/security/advisories/GHSA-h35f-9h28-mq5c (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-59890 (opens in a new tab)
- github.com/pypa/setuptools/commit/dd9f436a36486b4cb8a4c70a2321548b0be09b8f (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/setuptools/PYSEC-2026-3447.yaml (opens in a new tab)
- github.com/pypa/setuptools (opens in a new tab)
- github.com/pypa/setuptools/releases/tag/v83.0.0 (opens in a new tab)