CVE-2026-8643

NameCVE-2026-8643
Descriptionpip 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1138220

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python-pip (PTS)bullseye20.3.4-4+deb11u1vulnerable
bullseye (security)20.3.4-4+deb11u2vulnerable
bookworm23.0.1+dfsg-1vulnerable
trixie25.1.1+dfsg-1vulnerable
sid, forky26.1.2+dfsg-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python-pipsource(unstable)26.1.2+dfsg-11138220

Notes

[trixie] - python-pip <no-dsa> (Minor issue)
[bookworm] - python-pip <no-dsa> (Minor issue)
[bullseye] - python-pip <postponed> (Minor issue)
https://bugzilla.redhat.com/show_bug.cgi?id=2460927
Fixed by: https://github.com/pypa/pip/commit/8eb178480bd1a2b223f509fc430796b265158dfb
Improvement to original fix: https://github.com/pypa/pip/pull/14001

Search for package or bug name: Reporting problems