{"answers":{"affected":"3 open source packages ship an affected version, including pip.","exploited":"There is no known exploitation of CVE-2026-3219 in the wild and no public exploit code.","fix":"Upgrade pip to 26.1 or later.","what":"CVE-2026-3219 is a medium-severity vulnerability in Python Packaging Authority pip, published on 20 Apr 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-3219 and fix it if it is affected.\n\nWhat it is: CVE-2026-3219 is a medium-severity vulnerability in Python Packaging Authority pip, published on 20 Apr 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: There is no known exploitation of CVE-2026-3219 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- pip (PyPI): affected all versions; fixed in 26.1\n- pip (PyPI): affected all versions; fixed in 26.1\n- pip (PyPI): affected all versions; fixed in 26.1\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-3219/ (Markdown: https://insights.sbomify.com/CVE-2026-3219/index.md)","id":"CVE-2026-3219","markdown":"https://insights.sbomify.com/CVE-2026-3219/index.md","name":"CVE-2026-3219","record":{"aliases":["AZL-83184","AZL-83432","BELL-CVE-2026-3219","CLEANSTART-2026-RR99050","CLEANSTART-2026-WY38697","DEBIAN-CVE-2026-3219","ECHO-e9f8-2dcb-3be1","GHSA-58qw-9mgm-455v","MINI-6g6w-v387-7qw8","MINI-8ff4-r566-jx9j","MINI-c9jr-63mv-v6fw","MINI-p485-xf58-39q5","MINI-qg3j-gr7j-35qg","MINI-rw9g-q9x5-6m4v","MINI-v3c6-qvcm-phg5","MINI-wf29-fvjq-9hwm","MINI-x329-h66v-fcrm","OESA-2026-2360","OESA-2026-2361","OESA-2026-2362","OESA-2026-2363","OESA-2026-2497","PYSEC-2026-2875","RHSA-2026:20074","ROOT-APP-PYPI-CVE-2026-3219","UBUNTU-CVE-2026-3219","openSUSE-SU-2026:10645-1"],"analysis":{"component_type":"developer_tool","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Python package installer","requires_auth":"none","summary":"Attackers can trick pip into installing malicious code by providing archives that are both ZIP and tar, bypassing format checks.","user_interaction":"required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"PSF","cpe":[],"cvss":{"score":4.6,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"description":"pip handles concatenated tar and ZIP files as ZIP files regardless of filename or whether a file is both a tar and ZIP file. This behavior could result in confusing installation behavior, such as installing \"incorrect\" files according to the filename of the archive. New behavior only proceeds with installation if the file identifies uniquely as a ZIP or tar archive, not as both.","ecosystems":["PyPI","Red Hat:hummingbird:1","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"pip doesn't reject concatenated ZIP and tar archives","id":"CVE-2026-3219","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"file_upload","year":"2026"},"n_packages":7,"n_references":2,"next":{"headline":"Multiple Plugins - Unauthenticated Stored XSS via Minify Library","id":"CVE-2026-3220"},"packages":[{"ecosystem":"PyPI","fixed":["26.1"],"introduced":["0"],"last_affected":[],"package":"pip","purl":null,"source":"GHSA-58qw-9mgm-455v"},{"ecosystem":"PyPI","fixed":["26.1"],"introduced":["0"],"last_affected":[],"package":"pip","purl":"pkg:pypi/pip","source":"GHSA-58qw-9mgm-455v"},{"ecosystem":"PyPI","fixed":["26.1"],"introduced":["0"],"last_affected":[],"package":"pip","purl":"pkg:pypi/pip","source":"PYSEC-2026-2875"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:26.1.1-3.hum1"],"introduced":["0"],"last_affected":[],"package":"python-pip","purl":"pkg:rpm/redhat/python-pip","source":"RHSA-2026:20074"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:26.1.1-3.hum1"],"introduced":["0"],"last_affected":[],"package":"python-pip-wheel","purl":"pkg:rpm/redhat/python-pip-wheel","source":"RHSA-2026:20074"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:26.1.1-3.hum1"],"introduced":["0"],"last_affected":[],"package":"python3-pip","purl":"pkg:rpm/redhat/python3-pip","source":"RHSA-2026:20074"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["26.1-1.1"],"introduced":["0"],"last_affected":[],"package":"python-pip","purl":"pkg:rpm/opensuse/python-pip\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10645-1"}],"prev":{"headline":"Responsive Favicons - Moderately critical - Cross-site scripting - SA-CONTRIB-2026-019","id":"CVE-2026-3218"},"products":["pip"],"published":"2026-04-20","related":[],"sources":[{"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":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-20","vendors":["Python Packaging Authority"]},"summary":"Attackers can trick pip into installing malicious code by providing archives that are both ZIP and tar, bypassing format checks.","url":"https://insights.sbomify.com/CVE-2026-3219/"}