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.
"https://github.com/pypa/advisory-database/blob/main/vulns/pip/PYSEC-2026-196.yaml"