ADVISORIES

PyPA Advisory Database

PYSEC-2026-196

Details

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 packages

EcosystemPackageAffected versions
PyPIpip
All versions before 26.1.2 (fixed in 26.1.2)

References