ADVISORIES

GitHub Advisory Database

GHSA-wf93-45jw-7689

pip: Path traversal in console_scripts/gui_scripts entry point names allows installing scripts outside of target directory

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