CVE-2026-59890: setuptools is a package that allows users to download, build, install, upgrade, and uninstall Python packages
Affects setuptoolsSource GCVE Database
Not known to be exploited · CVSS 6.1 Medium · fixed in 7.5.3_1 : update setuptools when convenient.
Data as of 30 Oct 2026, 06:59 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 34% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 7.5.3_1, 2.18.1
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 29 Oct 2026.
What to do
Upgrade pip-tools to 7.5.3_1; shub to 2.18.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 20.04 LTSsetuptoolspkg:deb/ubuntu/setuptools?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSsetuptoolspkg:deb/ubuntu/setuptools?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSsetuptoolspkg:deb/ubuntu/setuptools?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 25.10setuptoolspkg:deb/ubuntu/setuptools?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSsetuptoolspkg:deb/ubuntu/setuptools?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Homebrewpip-toolspkg:brew/pip-toolsOther 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 that normalizes file names and MANIFEST.in patterns before matching to ensure exclusion rules work correctly on macOS APFS/HFS+ filesystems. Users should upgrade to a fixed version of setuptools to remediate this issue.
Description
CVE-2026-59890 is a medium severity vulnerability in setuptools affecting certain versions. It involves a Unicode normalization issue in the source distribution building process on macOS APFS/HFS+ filesystems. Due to differences in Unicode normalization forms between file names on disk and MANIFEST.in patterns, exclusion rules may fail, causing unintended inclusion of private or sensitive files in published packages. A fix is available that normalizes file names and patterns before matching to prevent this issue.
References
- ubuntu.com/security/CVE-2026-59890 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-59890 (opens in a new tab)
- 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)