CVE-2026-8643

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.

Credits

Lumír Balhar
Damian Shaw (https://github.com/notatallshaw)
Gregory P. Smith (https://github.com/gpshead)
Jannis Leidel (https://github.com/jezdez)
Pradyun Gedam (https://github.com/pradyunsg)
Paul Moore (https://github.com/pfmoore)

References