GHSA-wf93-45jw-7689

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

At a glance

Published
Updated
CVE
CVE-2026-8643
Aliases
PYSEC-2026-196
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
CVSS_V4
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Description

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

PackageVersions
PyPI · pipintroduced 0, fixed 26.1.2

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database