Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-59890: CWE-176: Improper Handling of Unicode Encoding in pypa setuptools

0
Medium
VulnerabilityCVE-2026-59890cvecve-2026-59890cwe-176cwe-697
Published: 07/08/2026 (07/08/2026, 16:02:07 UTC)
Source: CVE Database V5
Vendor/Project: pypa
Product: setuptools

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.

CVSS v3.1

Score 6.1medium

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N

Affected software

setuptools
pkg:pypi/setuptools
Affected versions
<83.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/08/2026, 16:44:19 UTC

Technical Analysis

The setuptools package, used for managing Python package distribution, had a flaw in versions before 83.0.0 where the FileList component applied MANIFEST.in exclusion directives by matching compiled glob patterns against on-disk file names without performing Unicode normalization. On macOS file systems such as APFS or HFS+, file names stored in Normalization Form D (NFD) could bypass exclusion rules written in Normalization Form C (NFC), allowing files intended to be excluded to be included in source distributions. This improper handling of Unicode encoding is classified under CWE-176 and CWE-697. The vulnerability is resolved in setuptools version 83.0.0.

Potential Impact

This vulnerability can lead to unintended files being included in Python source distributions when using setuptools on macOS systems with APFS or HFS+ file systems. This may expose sensitive or unwanted files in distributed packages, potentially leading to confidentiality breaches. The CVSS score is 6.1 (medium severity), indicating a moderate impact primarily on confidentiality with limited integrity impact and no availability impact.

Mitigation Recommendations

Upgrade setuptools to version 83.0.0 or later, where this Unicode normalization issue is fixed. No other mitigations are indicated. Patch status is confirmed by the vendor stating the issue is fixed in version 83.0.0.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-07-07T16:40:07.983Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a4e7ad4c9d9e3dbe36a7d68

Added to database: 07/08/2026, 16:29:08 UTC

Last enriched: 07/08/2026, 16:44:19 UTC

Last updated: 07/09/2026, 00:29:37 UTC

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses