What’s Vulnerable › Vulnerabilities

CVE-2026-8643: pip can extract console_scripts and gui_scripts outside installation directory

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.

Affected products

How to fix

Upgrade to a fixed version: Python Packaging Authority pip 26.1.2; Pypi Pip 26.1.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-8643 or the next vulnerability affects your stack