Medium severity · published Jun 1, 2026
CVE-2026-8643
pip can extract console_scripts and gui_scripts outside installation directory
5.5
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 25% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PI
pip · Python Packaging Authority
24.0 before 26.1.2 · source: vendor, NVD
EI
Exploit Intelligence · Red Hat
All versions, or not specified · source: CISA
LC
Lightspeed Core · Red Hat
All versions, or not specified · source: CISA
MT
Migration Toolkit for Virtualization · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat AI Inference Server · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Ansible Automation Platform 2 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Ansible Automation Platform 2.5 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Ansible Automation Platform 2.5 for RHEL 8 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Ansible Automation Platform 2.5 for RHEL 9 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Ansible Automation Platform 2.6 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Ansible Automation Platform 2.6 for RHEL 9 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Developer Hub · Red Hat
All versions, or not specified · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-8643
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-8643
Issue Tracking
https://github.com/pypa/pip/pull/14000
Mailing List
https://mail.python.org/archives/list/security-announce@python.org/thread/YV63UET5D3OOJY7O4M5XCVYO2YM4NBYJ/
Mailing List
http://www.openwall.com/lists/oss-security/2026/06/01/5
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:33313
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:34374
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:34456
More from pip
6.5
CVE-2026-13346
pip absolute path traversal during download from malicious package indexes
4.6
CVE-2026-3219
pip doesn't reject concatenated ZIP and tar archives
