{"id":"CVE-2026-59890","published":"2026-07-08T16:02:07Z","modified":"2026-07-08T16:44:52Z","title":"setuptools: MANIFEST.in exclusion bypass in sdist via Unicode normalization collision (NFC/NFD) on macOS APFS/HFS+","vendor":"pypa","product":"setuptools","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0053,"percentile":0.4575,"provenance":"source"},"cwes":[{"id":"CWE-176","name":"Improper Handling of Unicode Encoding"},{"id":"CWE-697","name":"Incorrect Comparison"}],"references":[{"url":"https://github.com/pypa/setuptools/security/advisories/GHSA-h35f-9h28-mq5c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pypa/setuptools/commit/dd9f436a36486b4cb8a4c70a2321548b0be09b8f","tags":["x_refsource_MISC"]},{"url":"https://github.com/pypa/setuptools/releases/tag/v83.0.0","tags":["x_refsource_MISC"]}],"priority":{"score":13.4,"factors":[{"name":"EPSS percentile","points":9.15},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"pypa","affectedVersions":[{"vendor":"pypa","product":"setuptools","versions":["< 83.0.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-08T16:44:32.194805Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"setuptools","vulnerableRanges":["<83.0.0"],"patched":["83.0.0"],"from":["GHSA-h35f-9h28-mq5c","PYSEC-2026-3447"],"provenance":"source"}],"summary":{"text":"The flaw is in setuptools' FileList component, which applies MANIFEST.in exclude, global-exclude, recursive-exclude, and prune directives by matching glob patterns against on-disk file names without Unicode normalization, so prior to version 83.0.0 those exclusions can be evaded. An attacker with local access and user interaction could exploit this on macOS APFS or HFS+ by using a decomposed (NFD) file name to bypass an NFC exclusion rule, causing the excluded file to be packed into a source distribution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:57:20Z"},"euvd":{"id":"EUVD-2026-42323","exploited":false,"provenance":"source"}}