{"id":"CVE-2026-13346","aliases":["CVE-2026-13346","GHSA-qwm4-qh6w-59xr","PYSEC-2026-3721"],"related":[],"kind":"vulnerability","state":"published","title":"pip absolute path traversal during download from malicious package indexes","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"pip manejaría incorrectamente las URLs de paquetes doblemente codificadas de los índices, permitiendo la instalación de archivos en ubicaciones arbitrarias en el disco incluso al instalar wheels.\n\nEsta vulnerabilidad requiere descargar o instalar un paquete de un índice de paquetes malicioso para tener éxito; los paquetes maliciosos por sí solos no son capaces de explotar esta vulnerabilidad. Tenga en cuenta que esta vulnerabilidad solo afecta materialmente a los usuarios que ejecutan ’pip download’ con la opción ’--only-binary’, ya que instalar distribuciones de código fuente de un índice no confiable ya es una operación insegura que ejecuta código durante la instalación.","source":"nvd"}],"published":"2026-07-29T18:33:50.820Z","modified":"2026-10-24T13:10:00.147Z","severity":{"scorer":"PSF","scheme":"CVSS:4.0","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","score":5.6,"rating":"MEDIUM"},"severities":[{"scorer":"PSF","scheme":"CVSS:4.0","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","score":5.6,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","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"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-36"],"affected":[{"ranges":[{"type":"python","introduced":"0","fixed":"26.2","status":"affected"}],"vendor":"Python Packaging Authority","product":"pip","repo":"https://github.com/pypa/pip","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"26.2.0"}],"ecosystem":"PyPI","package":"pip","purl":"pkg:pypi/pip","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"26.2"}],"vendor":"pypa","product":"pip","cpe":"cpe:2.3:a:pypa:pip:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"26.2"}],"ecosystem":"PyPI","package":"pip","purl":"pkg:pypi/pip","source":"pysec"}],"references":[{"url":"https://github.com/pypa/pip/pull/14110","tags":["fix","issue-tracking","patch","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/L2BNQGGVQCEV7DROOORQ7WFKKFF2OOQX/","tags":["advisory","mailing-list","third-party-advisory","vendor-advisory"],"sources":["cvelist","nvd","pysec"]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/29/7","tags":["advisory","mailing-list","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-13346","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/pypa/pip/commit/10dfb6b9005484578b386f64b9f36982e3dc6679","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pip/PYSEC-2026-3721.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/pypa/pip","tags":["package"],"sources":["ghsa"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/L2BNQGGVQCEV7DROOORQ7WFKKFF2OOQX","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-qwm4-qh6w-59xr","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"PSF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-29T19:08:27.143Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-13346","url":"https://www.cve.org/CVERecord?id=CVE-2026-13346","licence":"CVE Terms of Use","modified":"2026-07-29T20:21:34.281Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qwm4-qh6w-59xr","url":"https://github.com/advisories/GHSA-qwm4-qh6w-59xr","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:52.923Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-13346","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-13346","licence":"Public domain","modified":"2026-10-24T13:10:00.147Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-3721","url":"https://osv.dev/vulnerability/PYSEC-2026-3721","licence":"CC-BY-4.0","modified":"2026-09-10T11:15:08.939Z"}],"updatedAt":"2026-11-25T22:59:30.467Z","epss":{"score":0.00292,"percentile":0.2349,"date":"2026-12-01T12:00:22.000Z"}}