{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-13346","id":"CVE-2026-13346","title":"pip absolute path traversal during download from malicious package indexes","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\n\n\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 us","descriptionLong":"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\n\n\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.","published":"2026-07-29T18:33:50.820Z","updated":"2026-10-28T02:30:56.816134433Z","reserved":"2026-06-25T14:15:08.834Z","status":"Analyzed","rejected":false,"assigner":"PSF","metric":{"version":"4.0","score":5.6,"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","rating":"medium","source":"PSF"},"metrics":[{"version":"4.0","score":5.6,"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","rating":"medium","source":"PSF"},{"version":"4.0","score":5.6,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"python.org"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"medium","source":"GitHub"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","rating":"medium","source":"OSV"}],"rating":"medium","products":["Python Packaging Authority pip"],"affectedProducts":[{"vendor":"Python Packaging Authority","product":"pip","defaultStatus":"unaffected","versions":[{"lessThan":"26.2","status":"affected","version":"0","versionType":"python"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"pip","purl":"pkg:pypi/pip","ranges":["<26.2.0","<26.2"],"fixed":["26.2.0","26.2"],"advisory":"GHSA-qwm4-qh6w-59xr"}],"cwes":["CWE-36"],"aliases":["GHSA-qwm4-qh6w-59xr","PYSEC-2026-3721"],"references":[{"url":"https://github.com/pypa/pip/pull/14110","tags":["patch","Issue Tracking","Patch","fix","web"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/L2BNQGGVQCEV7DROOORQ7WFKKFF2OOQX/","tags":["vendor-advisory","Mailing List","Third Party Advisory","advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/29/7","tags":["Mailing List","Third Party Advisory","web","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/13xxx/CVE-2026-13346.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-13346","tags":["advisory"]},{"url":"https://github.com/pypa/pip","tags":["package"]},{"url":"https://pypi.org/project/pip","tags":["package"]},{"url":"https://github.com/pypa/pip/commit/10dfb6b9005484578b386f64b9f36982e3dc6679","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pip/PYSEC-2026-3721.yaml","tags":["web"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/L2BNQGGVQCEV7DROOORQ7WFKKFF2OOQX","tags":["web"]},{"url":"https://github.com/advisories/GHSA-qwm4-qh6w-59xr","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00292,"epssPercentile":0.22219,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-13346","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-13346","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-13346","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-qwm4-qh6w-59xr","ok":true,"note":"GHSA-qwm4-qh6w-59xr"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-13346","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}