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

Weakness classification (CWE)

References

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.