CVE-2026-8643Published Jun 1, 2026 · Jun 1Updated Oct 28
pip can extract console_scripts and gui_scripts outside installation directory
Python Packaging Authority pip
Medium4.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| pip PyPI |
|
|
Original description
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.
From the CVE record · PSF