Skip to main content

setuptools CVE-2026-59890

| EUVDEUVD-2026-42323 MEDIUM
Improper Handling of Unicode Encoding (CWE-176)
2026-07-08 GitHub_M GHSA-h35f-9h28-mq5c PYSEC-2026-3447
6.1
CVSS 3.1 · Vendor: GitHub_M
Share

Severity by source

Vendor (GitHub_M) PRIMARY
6.1 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
vuln.today AI
5.3 MEDIUM

AC:H reflects three required preconditions (macOS APFS/HFS+, NFD-normalized filename, active MANIFEST.in exclusion rule); no availability impact applies.

3.1 AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N
4.0 AV:L/AC:H/AT:P/PR:N/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
SUSE
MEDIUM
qualitative
Red Hat
6.1 MEDIUM
qualitative

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None

Lifecycle Timeline

3
Patch available
Jul 08, 2026 - 18:02 EUVD
Analysis Generated
Jul 08, 2026 - 17:17 vuln.today
CVE Published
Jul 08, 2026 - 16:02 cve.org
MEDIUM 6.1

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 127 pypi packages depend on setuptools (45 direct, 83 indirect)

Ecosystem-wide dependent count for version 83.0.0.

DescriptionCVE.org

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.

AnalysisAI

Setuptools prior to 83.0.0 fails to normalize Unicode filenames before matching them against MANIFEST.in exclusion patterns on macOS APFS and HFS+ filesystems, allowing files with NFD-normalized on-disk names to silently bypass NFC-encoded exclude, global-exclude, recursive-exclude, and prune directives and be packed into Python source distributions. Python package maintainers developing on macOS face a supply chain risk: sensitive files such as credentials, private keys, or environment configs that are correctly listed in MANIFEST.in for exclusion may still appear in tarballs published to PyPI or private registries. No public exploit has been identified at time of analysis, and the vulnerability is not listed in the CISA KEV catalog.

Technical ContextAI

The vulnerability (CWE-176: Improper Handling of Unicode Encoding) resides in setuptools' FileList class, which processes MANIFEST.in directives by compiling glob patterns and matching them against on-disk filenames. The root cause is the absence of Unicode normalization on either the pattern or the filename side before comparison. macOS APFS and HFS+ filesystems canonicalize stored filenames to NFD (Normalization Form Decomposed), where accented or composite Unicode characters are stored as a base glyph followed by one or more combining code points. Most text editors and shells produce NFC (Normalization Form Composed) output when a developer writes an exclusion rule - so the byte sequences of pattern and filename differ even when they represent the same visible string. The affected CPE is cpe:2.3:a:pypa:setuptools:*:*:*:*:*:*:*:* covering all versions prior to 83.0.0. The fix, committed at dd9f436a36486b4cb8a4c70a2321548b0be09b8f, normalizes filenames prior to glob matching to eliminate this form mismatch.

RemediationAI

Upgrade setuptools to version 83.0.0 or later, which normalizes Unicode filenames before applying MANIFEST.in glob exclusions. The release is available at https://github.com/pypa/setuptools/releases/tag/v83.0.0 and can be installed via pip install --upgrade setuptools. Until patching is possible, maintainers on macOS should manually audit built sdist tarballs before publishing by running tar tzf dist/*.tar.gz and verifying no sensitive files are present - this inspection adds a human gate that the broken exclusion logic cannot be relied upon to provide. Running python -m build within a Linux-based CI pipeline (e.g., GitHub Actions on ubuntu-latest) rather than on a local macOS workstation is a reliable compensating control, as Linux filesystems do not NFD-normalize filenames and exclusion rules will function correctly. Renaming sensitive files to ASCII-only names removes the normalization ambiguity entirely but does not fix the underlying bug and should not substitute for patching.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 12 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected

Share

CVE-2026-59890 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy