Path Traversal in Pypa Pip
CVE-2026-8643
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.
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.000 (2.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.
Affected products
- Pypa Pip
- Python Packaging Authority Pip — versions 0
Weakness classification (CWE)
References
- cna@python.org (Patch, patch, Issue Tracking)
- cna@python.org (vendor-advisory, Mailing List, Vendor Advisory)
- af854a3a-2127-422b-91ae-364da2661108 (Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2026-8643?
- CVE-2026-8643 is a medium-severity vulnerability in Pypa Pip, classified under Path Traversal. CVSS score: 5.5/10. Published 2026-06-01.
- How severe is CVE-2026-8643?
- Medium severity. CVSS v3 base score is 5.5 out of 10.