Skip to main content
← All vulnerabilities
CVE-2026-13346PYSEC-2026-3721GHSA-QWM4-QH6W-59XR

pip absolute path traversal during download from malicious package indexes

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 26.2, 26.2.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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. This 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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Python Packaging Authority pip

    fixed in 26.2

  • pipPyPI

    fixed in 26.2

  • pipPyPI

    fixed in 26.2.0

References 2

GitHub · pypa/pip

mail.python.org