CVE-2026-8643

pip can extract console_scripts and gui_scripts outside installation directory

MEDIUM
5.5
CVSS Score
Published: June 1, 2026 at 03:01 PM UTC
Updated: September 16, 2026 at 01:18 PM UTC
15 products affected across 3 vendorsPipEnterprise LinuxOpenShift Container Platform

Using pip by Python Packaging Authority?

Get instant alerts when new vulnerabilities affect pip - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 26.1.2
Affected range stops below 26.1.2, so it looks safe — our inference, not a vendor statement
24.0 ≤ v < 26.1.224.0
Affected range stops below 26.1.2, so it looks safe — our inference, not a vendor statement
All versions
Vendor states this is fixed in 0:4.6.30-2.el8ap (unaffected)
Vendor states this is fixed in 0:4.6.30-2.el9ap (unaffected)
Vendor states this is fixed in 0:4.7.14-3.el9ap (unaffected)
Vendor states this is fixed in 1782711769 (unaffected)
Vendor states this is fixed in 1782713671 (unaffected)
Vendor states this is fixed in 1782761510 (unaffected)
Vendor states this is fixed in 1783969139 (unaffected)
Vendor states this is fixed in 1784049109 (unaffected)
Vendor states this is fixed in 1785753810 (unaffected)
All versions
Vendor states this is fixed in 0:25.2-3.el10_2.5 (unaffected)
Vendor states this is fixed in 0:25.2-3.el9_8.5 (unaffected)
Vendor states this is fixed in 10 (unaffected)
Vendor states this is fixed in 7 (unaffected)
Vendor states this is fixed in 8 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (42)

PatchIssue Tracking
Source: cverecord
https://github.com/pypa/pip/pull/14000
Mailing ListThird Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.openwall.com/lists/oss-security/2026/06/01/5
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/errata/RHSA-2026:33313
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/security/cve/CVE-2026-8643
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://bugzilla.redhat.com/show_bug.cgi?id=2460927
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/errata/RHSA-2026:34374

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-22

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card