setuptools: MANIFEST.in exclusion bypass in sdist via Unicode normalization collision (NFC/NFD) on macOS APFS/HFS+
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| pypa | setuptools | before 83.0.0 | 83.0.0 | Patch available | CNA |
| — | setuptools (PyPI) | before 83.0.0 | 83.0.0 | Patch available | GHSA-h35f-9h28-mq5c |
- setuptools Vendorpypa Affected before 83.0.0 Fixed in 83.0.0 Patch available CNA
- setuptools (PyPI) Vendor— Affected before 83.0.0 Fixed in 83.0.0 Patch available GHSA-h35f-9h28-mq5c
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:python:setuptools:*:*:*:*:*:*:*:* | before 83.0.0 | Vulnerable | python-pillow |
- cpe:2.3:a:python:setuptools:*:*:*:*:*:*:*:* Versions before 83.0.0 Vulnerable ·python-pillow
Remediation
- Fix · CNA setuptools (pypa) Fixed in 83.0.0
- Fix · GHSA-h35f-9h28-mq5c setuptools (PyPI) Fixed in 83.0.0 Advisory →
Red Hat 1 advisory
- RHSA-2026:37530 Released 2026-07-10 · Red Hat rating ModerateRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images python-setuptools-83.0.0-4.hum1@src, python-setuptools-wheel-83.0.0-4.hum1@noarch@public-hummingbird-aarch64-rpms, python-setuptools-wheel-83.0.0-4.hum1@noarch@public-hummingbird-x86_64-rpms +2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Hardened Images | Fixed | RHSA-2026:37530 |
Not affected: 28 products
- Exploit Intelligence
- Lightspeed Core
- Migration Toolkit for Applications 8
- Migration Toolkit for Virtualization
- Network Observability Operator
- OpenShift Lightspeed
- OpenShift Service Mesh 3
- Red Hat AI Inference Server
- Red Hat Ansible Automation Platform 2
- Red Hat Ceph Storage 7
- Red Hat Ceph Storage 9
- Red Hat Developer Hub 1
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux AI (RHEL AI) 3
- Red Hat Hardened Images
- Red Hat OpenShift AI (RHOAI)
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Dev Spaces
- Red Hat OpenShift Virtualization 4
- Red Hat Quay 3
- Red Hat Satellite 6
- Red Hat Trusted Artifact Signer
- Red Hat build of Quarkus Native builder
- Self-service automation portal 2
- Service Telemetry Framework 1.5
Timeline
- 2026-10-02 Threatist record created from CVE-2026-59890
- 2026-10-03 Alias added: GHSA-h35f-9h28-mq5c
- 2026-10-27 Affected versions changed · Red Hat
References
More pypa vulnerabilities
- TI-2025-29803 setuptools has a path traversal vulnerability in PackageIndex.download that leads to Arbitrary File Write CVSS 4.0HIGH 7.7
- TI-2024-05888 Remote Code Execution in pypa/setuptools CVSS 3.0HIGH 8.8
- TI-2026-78525 Shell command injection in virtualenv generated POSIX launchers CVSS 3.1HIGH 7.8
- TI-2026-78526 Command injection in virtualenv bash activation prompt CVSS 4.0HIGH 7.1
- TI-2026-78521 Code injection in virtualenv Xonsh activation script CVSS 4.0HIGH 7.1
- TI-2026-19377 wheel Allows Arbitrary File Permission Modification via Path Traversal CVSS 3.1HIGH 7.1
Sources
- CVE-2026-59890 · CVE Program
- CVE-2026-59890 · NVD
- FIRST EPSS
- GHSA-h35f-9h28-mq5c · GitHub Advisory Database · CC BY 4.0
- CVE-2026-59890 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences