{"answers":{"affected":"3 open source packages ship an affected version, including pip. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-13346 in the wild and no public exploit code.","fix":"Upgrade pip to a fixed version for your release line: 26.2 or 26.2.0.","what":"CVE-2026-13346 is a medium-severity path traversal vulnerability in Python Packaging Authority pip, published on 29 Jul 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-13346 and fix it if it is affected.\n\nWhat it is: CVE-2026-13346 is a medium-severity path traversal vulnerability in Python Packaging Authority pip, published on 29 Jul 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-13346 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- pip (PyPI): affected all versions; fixed in 26.2\n- pip (PyPI): affected all versions; fixed in 26.2.0\n- pip (PyPI): affected all versions; fixed in 26.2.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-13346/ (Markdown: https://insights.sbomify.com/CVE-2026-13346/index.md)","id":"CVE-2026-13346","markdown":"https://insights.sbomify.com/CVE-2026-13346/index.md","name":"CVE-2026-13346","record":{"aliases":["AZL-94335","AZL-94353","BELL-CVE-2026-13346","CLEANSTART-2026-FW80348","CLEANSTART-2026-PH11243","CLEANSTART-2026-SL06718","DEBIAN-CVE-2026-13346","ECHO-7b00-1c82-cbfb","GHSA-qwm4-qh6w-59xr","MINI-2h6f-5ggg-8fm8","MINI-49f9-cw84-7pc6","MINI-63cx-fh3c-m848","MINI-6v5f-2gxx-w53r","MINI-7m5h-6wcf-qgmq","MINI-8vrf-2hjr-v4f5","MINI-946v-j8jp-fwfp","MINI-9xrh-8c96-pm9p","MINI-hm5x-xm7q-h854","MINI-p38g-p539-cqx6","MINI-p6xm-3cxc-8v7p","MINI-rq3v-8f5c-w4pg","OESA-2026-3785","OESA-2026-3786","OESA-2026-3787","OESA-2026-3788","OESA-2026-3941","PYSEC-2026-3721","SUSE-SU-2026:23319-1","SUSE-SU-2026:3588-1","SUSE-SU-2026:3589-1","SUSE-SU-2026:3846-1","SUSE-SU-2026:4030-1","UBUNTU-CVE-2026-13346","openSUSE-SU-2026:11451-1","openSUSE-SU-2026:21643-1"],"analysis":{"component_type":"developer_tool","fix_type":"patch","impacts":["code_execution","data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"Python package installer","requires_auth":"high_privilege","summary":"Attackers can install files to arbitrary locations via malicious indexes when using pip download with --only-binary, potentially leading to code execution.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"PSF","cpe":[{"product":"pip","vendor":"pypa"}],"cvss":{"score":5.6,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-36","name":"Absolute Path Traversal"}],"description":"pip would incorrectly handle doubly-encoded package URLs from indexes allowing for files to be installed to arbitrary locations on disk even when installing wheels.\n\nThis vulnerability requires downloading or installing a package from a malicious package index to succeed, malicious packages alone are not able to exploit this vulnerability. Note that this vulnerability only materially impacts users running `pip download` with the `--only-binary` option as installing source distributions from an untrusted index is already an unsafe operation that executes code during install time.","ecosystems":["PyPI","SUSE:Linux Enterprise Module for Basesystem 15 SP7","SUSE:Linux Enterprise Module for Public Cloud 15 SP4","SUSE:Linux Enterprise Module for Python 3 15 SP7","SUSE:Linux Enterprise Server 16.0","SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","SUSE:Linux Enterprise Server for SAP applications 16.0","openSUSE:Leap 16.0","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 absolute path traversal during download from malicious package indexes","id":"CVE-2026-13346","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":13,"n_references":2,"next":{"headline":"Hide My WP Lite \u003c= 1.3 - Unauthenticated Path Traversal to Arbitrary File Read via 'he_wrapper_js' Parameter","id":"CVE-2026-13347"},"packages":[{"ecosystem":"PyPI","fixed":["26.2"],"introduced":["0"],"last_affected":[],"package":"pip","purl":"pkg:pypi/pip","source":"PYSEC-2026-3721"},{"ecosystem":"PyPI","fixed":["26.2.0"],"introduced":["0"],"last_affected":[],"package":"pip","purl":null,"source":"GHSA-qwm4-qh6w-59xr"},{"ecosystem":"PyPI","fixed":["26.2.0"],"introduced":["0"],"last_affected":[],"package":"pip","purl":"pkg:pypi/pip","source":"GHSA-qwm4-qh6w-59xr"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP7","fixed":["20.0.2-150400.26.1"],"introduced":["0"],"last_affected":[],"package":"python3-pip","purl":"pkg:rpm/suse/python3-pip\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7","source":"SUSE-SU-2026:3588-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP7","fixed":["20.0.2-150400.26.1"],"introduced":["0"],"last_affected":[],"package":"python3-pip-wheel","purl":"pkg:rpm/suse/python3-pip-wheel\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7","source":"SUSE-SU-2026:3588-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP4","fixed":["22.3.1-150400.17.29.1"],"introduced":["0"],"last_affected":[],"package":"python-pip","purl":"pkg:rpm/suse/python-pip\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP4","source":"SUSE-SU-2026:3589-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Python 3 15 SP7","fixed":["22.3.1-150400.17.29.1"],"introduced":["0"],"last_affected":[],"package":"python-pip","purl":"pkg:rpm/suse/python-pip\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Python%203%2015%20SP7","source":"SUSE-SU-2026:3589-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Python 3 15 SP7","fixed":["24.2-150700.3.3.1"],"introduced":["0"],"last_affected":[],"package":"python313-pip","purl":"pkg:rpm/suse/python313-pip\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Python%203%2015%20SP7","source":"SUSE-SU-2026:4030-1"},{"ecosystem":"SUSE:Linux Enterprise Server 16.0","fixed":["25.0.1-160000.6.1"],"introduced":["0"],"last_affected":[],"package":"python-pip","purl":"pkg:rpm/suse/python-pip\u0026distro=SUSE%20Linux%20Enterprise%20Server%2016.0","source":"SUSE-SU-2026:23319-1"},{"ecosystem":"SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","fixed":["20.2.4-8.18.1"],"introduced":["0"],"last_affected":[],"package":"python36-pip","purl":"pkg:rpm/suse/python36-pip\u0026distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5","source":"SUSE-SU-2026:3846-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","fixed":["25.0.1-160000.6.1"],"introduced":["0"],"last_affected":[],"package":"python-pip","purl":"pkg:rpm/suse/python-pip\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0","source":"SUSE-SU-2026:23319-1"},{"ecosystem":"openSUSE:Leap 16.0","fixed":["25.0.1-160000.6.1"],"introduced":["0"],"last_affected":[],"package":"python-pip","purl":"pkg:rpm/opensuse/python-pip\u0026distro=openSUSE%20Leap%2016.0","source":"openSUSE-SU-2026:21643-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["26.2-1.1"],"introduced":["0"],"last_affected":[],"package":"python-pip","purl":"pkg:rpm/opensuse/python-pip\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11451-1"}],"prev":{"headline":"Missing authorization in Essential Addons for Elementor","id":"CVE-2026-13345"},"products":["pip"],"published":"2026-07-29","related":[{"cvss_score":7.8,"headline":"Supply chain in n/a","id":"CVE-2018-20225","kev_date_added":null,"published":"2020-05-08"},{"cvss_score":6.8,"headline":"Improper Input Validation in pip","id":"CVE-2013-1629","kev_date_added":null,"published":"2013-08-06"},{"cvss_score":5.5,"headline":"Mercurial configuration injectable in repo revision when installing via pip","id":"CVE-2023-5752","kev_date_added":null,"published":"2023-10-24"},{"cvss_score":4.1,"headline":"pip can extract console_scripts and gui_scripts outside installation directory","id":"CVE-2026-8643","kev_date_added":null,"published":"2026-06-01"}],"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":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-29","vendors":["Python Packaging Authority"]},"summary":"Attackers can install files to arbitrary locations via malicious indexes when using pip download with --only-binary, potentially leading to code execution.","url":"https://insights.sbomify.com/CVE-2026-13346/"}