VDB
Sign up
MEDIUM5.5

PYSEC-2026-196

Quick fix

PYSEC-2026-196 — pip: upgrade to the fixed version with the command below.

pip install --upgrade 'pip>=26.1.2'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/pip
Introduced in: 0Fixed in: 26.1.2
Fixpip install --upgrade 'pip>=26.1.2'

References