Vulnerability · Published Jul 8, 2026 · Assigned by GitHub_M
CVE-2026-59890setuptools: MANIFEST.in exclusion bypass in sdist via Unicode normalization collision (NFC/NFD) on macOS APFS/HFS+
Medium 6.1
In plain English
A medium-severity security flaw in setuptools from pypa. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
setuptools is a package that allows users to download, build, install, upgrade, and uninstall Python packages. Prior to 83.0.0, FileList applied MANIFEST.in exclude, global-exclude, recursive-exclude, and prune directives by matching compiled glob patterns against on-disk file names without Unicode normalization, so on macOS APFS or HFS+ an NFD file name could bypass an NFC exclusion rule and be packed into a source distribution. This issue is fixed in version 83.0.0.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | setuptools | 83.0.0 | PYSEC-2026-3447 |
| PyPI | setuptools | 83.0.0 | GHSA-h35f-9h28-mq5c |
| Ubuntu:22.04:LTS | setuptools | no fix listed | UBUNTU-CVE-2026-59890 |
| Ubuntu:24.04:LTS | setuptools | no fix listed | UBUNTU-CVE-2026-59890 |
| Ubuntu:25.10 | setuptools | no fix listed | UBUNTU-CVE-2026-59890 |
| Ubuntu:26.04:LTS | setuptools | no fix listed | UBUNTU-CVE-2026-59890 |
| Ubuntu:26.10 | setuptools | no fix listed | UBUNTU-CVE-2026-59890 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| pypa | setuptools | < 83.0.0 |
Weakness: CWE-176, CWE-697 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
References
- https://github.com/pypa/setuptools/security/advisories/GHSA-h35f-9h28-mq5c x_refsource_CONFIRM
- https://github.com/pypa/setuptools/commit/dd9f436a36486b4cb8a4c70a2321548b0be09b8f x_refsource_MISC
- https://github.com/pypa/setuptools/releases/tag/v83.0.0 x_refsource_MISC