CVE-2026-59890
MEDIUM 6.1CVSS 3.1setuptools: MANIFEST.in exclusion bypass in sdist via Unicode normalization collision (NFC/NFD) on macOS APFS/HFS+
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.
- Published
- 8 Jul 2026
- Last modified
- 25 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-176CWE-697
- Also known as
- BIT-setuptools-2026-59890GHSA-h35f-9h28-mq5cPYSEC-2026-3447
- Sources
- NVDJSONOSV GHSA-h35f-9h28-mq5cJSONOSV PYSEC-2026-3447JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | python | setuptoolscpe:2.3:a:python:setuptools:*:*:*:*:*:*:*:* |
< 83.0.0 | 83.0.0 |
| OSV | PyPI | setuptools | < 83.0.0 | 83.0.0 |
References
- https://github.com/pypa/setuptools/commit/dd9f436a36486b4cb8a4c70a2321548b0be09b8f · Patch, WEB, FIX
- https://github.com/pypa/setuptools/releases/tag/v83.0.0 · Release Notes, WEB, ADVISORY
- https://github.com/pypa/setuptools/security/advisories/GHSA-h35f-9h28-mq5c · Exploit, Vendor Advisory, Mitigation, WEB, EVIDENCE
- https://nvd.nist.gov/vuln/detail/CVE-2026-59890 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/setuptools/PYSEC-2026-3447.yaml · WEB
- https://github.com/pypa/setuptools · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 8 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 8 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 21 Jul 2026)