Path Traversal Vulnerability in Pip for Python by PyPa
CVE-2026-8643
4.1MEDIUM
What is CVE-2026-8643?
The Pip package manager for Python contains a vulnerability that improperly handles console_scripts and gui_scripts as file paths instead of filenames. This flaw overlooks necessary sanitization of the resolved absolute path to the installation directory, leading to potential installation of entry points outside the designated directory. This issue can result in a compromise of system integrity by allowing files to be executed in unintended locations.
Affected Version(s)
pip 0 < 26.1.2
References
CVSS V4
Score:
4.1
Severity:
MEDIUM
Confidentiality:
None
Integrity:
High
Availability:
None
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
Unknown
Timeline
Vulnerability published
Vulnerability Reserved
Credit
LumĂr Balhar
Damian Shaw (https://github.com/notatallshaw)
Gregory P. Smith (https://github.com/gpshead)
Jannis Leidel (https://github.com/jezdez)
Pradyun Gedam (https://github.com/pradyunsg)
Paul Moore (https://github.com/pfmoore)
