CVE-2026-59890

setuptools: MANIFEST.in exclusion bypass in sdist via Unicode normalization collision (NFC/NFD) on macOS APFS/HFS+

State
Published
Severity
6.1 Medium
Published
Jul 8, 2026
Updated
Jul 8, 2026
Reserved
Jul 7, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.1 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:NGitHub_M

Weaknesses

  • CWE-176 Improper Handling of Unicode Encoding
  • CWE-697 Incorrect Comparison

Affected Products

ProductVersions
setuptoolspypa
  • < 83.0.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.