Skip to main content
← All vulnerabilities
CVE-2026-8643GHSA-WF93-45JW-7689PYSEC-2026-196

pip can extract console_scripts and gui_scripts outside installation directory

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

Summary

pip would treat console_scripts and gui_scripts as paths instead of file names without sanitizing the resolved absolute path to the installation directory, leading to entry points being installed outside the installation directory.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • pip

    From 24.0 · fixed in 26.1.2

  • pipPyPI

    fixed in 26.1.2

References 2

GitHub · pypa/pip

mail.python.org