{"answers":{"affected":"4 open source packages ship an affected version, including setuptools. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-59890 exists.","fix":"Upgrade setuptools to 83.0.0 or later.","what":"CVE-2026-59890 is a medium-severity vulnerability in pypa setuptools, published on 8 Jul 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-59890 and fix it if it is affected.\n\nWhat it is: CVE-2026-59890 is a medium-severity vulnerability in pypa setuptools, published on 8 Jul 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-59890 exists.\n\nAffected packages and fixed versions:\n- setuptools (Bitnami): affected all versions; fixed in 83.0.0\n- setuptools (PyPI): affected all versions; fixed in 83.0.0\n- setuptools (PyPI): affected all versions; fixed in 83.0.0\n- setuptools (PyPI): affected all versions; fixed in 83.0.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-59890/ (Markdown: https://insights.sbomify.com/CVE-2026-59890/index.md)","id":"CVE-2026-59890","markdown":"https://insights.sbomify.com/CVE-2026-59890/index.md","name":"CVE-2026-59890","record":{"aliases":["AZL-110366","AZL-92229","BELL-CVE-2026-59890","BIT-setuptools-2026-59890","CLEANSTART-2026-BQ91197","CLEANSTART-2026-DF15626","CLEANSTART-2026-HV14791","CLEANSTART-2026-LY41843","CLEANSTART-2026-PZ20042","CLEANSTART-2026-XW51025","CLSA-2026-1786468462","CLSA-2026-1787028610","CLSA-2026-1787559705","CLSA-2026-1790749457","CLSA-2026-1791366380","CLSA-2026-1791366704","ECHO-732c-d358-5fef","GHSA-h35f-9h28-mq5c","MINI-2gh9-q385-hr2m","MINI-2qh3-v3f6-3pvx","MINI-5gr6-r242-f66p","MINI-5jg2-9vm3-7cc5","MINI-5r4w-39wc-5xf5","MINI-835q-m3f4-f73q","MINI-f632-6jhm-593p","MINI-mh43-jg27-c8gh","MINI-wm2q-crjp-49fh","MINI-xmhx-997j-pggv","OESA-2026-3191","PYSEC-2026-3447","RHSA-2026:37530","UBUNTU-CVE-2026-59890"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Python packaging library","requires_auth":"none","summary":"Attackers can bypass file exclusion rules in source distributions on macOS by exploiting Unicode normalization collisions, potentially leaking sensitive files.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"setuptools","vendor":"python"}],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-697","name":"Incorrect Comparison"},{"id":"CWE-176","name":"Improper Handling of Unicode Encoding"}],"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.","ecosystems":["Bitnami","PyPI","Red Hat:hummingbird:1"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"setuptools: MANIFEST.in exclusion bypass in sdist via Unicode normalization collision (NFC/NFD) on macOS APFS/HFS+","id":"CVE-2026-59890","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":7,"n_references":3,"next":{"headline":"Credential confusion in @sigstore/oci can leak registry credentials to an attacker-controlled registry","id":"CVE-2026-59891"},"packages":[{"ecosystem":"Bitnami","fixed":["83.0.0"],"introduced":["0"],"last_affected":[],"package":"setuptools","purl":"pkg:bitnami/setuptools","source":"BIT-setuptools-2026-59890"},{"ecosystem":"PyPI","fixed":["83.0.0"],"introduced":["0"],"last_affected":[],"package":"setuptools","purl":null,"source":"GHSA-h35f-9h28-mq5c"},{"ecosystem":"PyPI","fixed":["83.0.0"],"introduced":["0"],"last_affected":[],"package":"setuptools","purl":"pkg:pypi/setuptools","source":"GHSA-h35f-9h28-mq5c"},{"ecosystem":"PyPI","fixed":["83.0.0"],"introduced":["0"],"last_affected":[],"package":"setuptools","purl":"pkg:pypi/setuptools","source":"PYSEC-2026-3447"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:83.0.0-4.hum1"],"introduced":["0"],"last_affected":[],"package":"python-setuptools","purl":"pkg:rpm/redhat/python-setuptools","source":"RHSA-2026:37530"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:83.0.0-4.hum1"],"introduced":["0"],"last_affected":[],"package":"python-setuptools-wheel","purl":"pkg:rpm/redhat/python-setuptools-wheel","source":"RHSA-2026:37530"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:83.0.0-4.hum1"],"introduced":["0"],"last_affected":[],"package":"python3-setuptools","purl":"pkg:rpm/redhat/python3-setuptools","source":"RHSA-2026:37530"}],"prev":{"headline":"jackson-databind: @JsonView ypassed for @JsonUnwrapped container properties on deserialization","id":"CVE-2026-59889"},"products":["setuptools"],"published":"2026-07-08","related":[{"cvss_score":6.8,"headline":"Setuptools vulnerable to Man-in-the-middle attacks","id":"CVE-2013-1633","kev_date_added":null,"published":"2013-08-06"},{"cvss_score":5.9,"headline":"pypa/setuptools vulnerable to Regular Expression Denial of Service (ReDoS)","id":"CVE-2022-40897","kev_date_added":null,"published":"2022-12-22"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-08","vendors":["pypa"]},"summary":"Attackers can bypass file exclusion rules in source distributions on macOS by exploiting Unicode normalization collisions, potentially leaking sensitive files.","url":"https://insights.sbomify.com/CVE-2026-59890/"}