{"id":"CVE-2026-59890","state":"PUBLISHED","title":"setuptools: MANIFEST.in exclusion bypass in sdist via Unicode normalization collision (NFC/NFD) on macOS APFS/HFS+","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.","publishedAt":"2026-07-08T16:02:07.519Z","updatedAt":"2026-07-08T16:44:52.269Z","severity":{"score":6.1,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["pypa setuptools"],"affected":[{"vendor":"pypa","product":"setuptools","versions":[{"version":"< 83.0.0","status":"affected"}]}],"references":["https://github.com/pypa/setuptools/security/advisories/GHSA-h35f-9h28-mq5c","https://github.com/pypa/setuptools/commit/dd9f436a36486b4cb8a4c70a2321548b0be09b8f","https://github.com/pypa/setuptools/releases/tag/v83.0.0"],"weaknesses":["CWE-176","CWE-697"],"ingestedAt":"2026-10-29T20:12:32.778Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/59xxx/CVE-2026-59890.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-59890","state":"PUBLISHED","datePublished":"2026-07-08T16:02:07.519Z","dateUpdated":"2026-07-08T16:44:52.269Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-07T16:40:07.983Z"},"containers":{"cna":{"title":"setuptools: MANIFEST.in exclusion bypass in sdist via Unicode normalization collision (NFC/NFD) on macOS APFS/HFS+","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"pypa","product":"setuptools","versions":[{"version":"< 83.0.0","status":"affected"}]}],"references":[{"url":"https://github.com/pypa/setuptools/security/advisories/GHSA-h35f-9h28-mq5c","name":"https://github.com/pypa/setuptools/security/advisories/GHSA-h35f-9h28-mq5c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pypa/setuptools/commit/dd9f436a36486b4cb8a4c70a2321548b0be09b8f","name":"https://github.com/pypa/setuptools/commit/dd9f436a36486b4cb8a4c70a2321548b0be09b8f","tags":["x_refsource_MISC"]},{"url":"https://github.com/pypa/setuptools/releases/tag/v83.0.0","name":"https://github.com/pypa/setuptools/releases/tag/v83.0.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-176","lang":"en","description":"CWE-176: Improper Handling of Unicode Encoding","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-697","lang":"en","description":"CWE-697: Incorrect Comparison","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-08T16:02:07.519Z"},"source":{"advisory":"GHSA-h35f-9h28-mq5c","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/pypa/setuptools/security/advisories/GHSA-h35f-9h28-mq5c","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-08T16:44:32.194805Z","id":"CVE-2026-59890","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-08T16:44:52.269Z"}}]}}}