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 products
pypa: pip
References10
- mail.python.org/archives/list/[email protected]/thre… Mailing ListVendor Advisory
- github.com/pypa/pip/pull/14000 Issue TrackingPatch
- www.openwall.com/lists/oss-security/2026/06/01/5 Mailing ListThird Party Advisory
- access.redhat.com/errata/RHSA-2026:33313
- access.redhat.com/errata/RHSA-2026:34374
- access.redhat.com/errata/RHSA-2026:34456
- access.redhat.com/errata/RHSA-2026:34739
- access.redhat.com/errata/RHSA-2026:34740
- access.redhat.com/errata/RHSA-2026:34741
- access.redhat.com/errata/RHSA-2026:34748
Metrics
- CVSS 3.1
-
5.5
MEDIUM
Score source: NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N - CVSS 4.0
-
4.1
MEDIUM
Score source: CNA
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS — exploit probability
- 0% percentile: 25 · as of 15 November 2026
- CWE
- CWE-22
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.