CVE-2026-8643
pip can extract console_scripts and gui_scripts outside installation directory
No exploitation reported by the sources we read.
- Published2026-06-01
- Fixed in26.1.2
- WeaknessCWE-22
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2026-06-0117:17CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 26.1 | < 26.1.2 | 26.1.2 | NVD · OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As PSF, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Python Packaging Authority pipother versions: not affected
package piphttps://pypi.org/project/pip
Affected- ≥ 24.0, < 26.1.2fixed in 26.1.2python
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-06-30
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- airflow-2MinimOSall versions · no fixed version listedand 2 other packages
- ansible-coreRed Hat:ansible_automation_platform:2.6::el10all versions · fixed in 2:2.16.19-1.el10ap
- ansible-coreRed Hat:ansible_automation_platform:2.6::el9all versions · fixed in 1:2.16.19-1.el9ap
- ansible-coreRed Hat:ansible_automation_platform:2.5::el9all versions · fixed in 1:2.16.19-1.el9apand 1 other package
- ansible-coreRed Hat:ansible_automation_platform:2.5::el8all versions · fixed in 1:2.16.19-1.el8apand 1 other package
- ansible-coreRed Hat:ansible_automation_platform_inside:2.6::el9all versions · fixed in 1:2.16.19-1.el9ap
- ansible-coreRed Hat:ansible_automation_platform_inside:2.5::el9all versions · fixed in 1:2.16.19-1.el9ap
- ansible-coreRed Hat:ansible_automation_platform_inside:2.5::el8all versions · fixed in 1:2.16.19-1.el8ap
322 more package ranges on OSV.dev
Vendor advisories
python-pip: Path traversal via malicious entry point name in pip wheel installation allows arbitrary file overwrite
exploit-intelligence-tech-preview/vulnerability-analysis-rhel9 as a component of Exploit Intelligence · lightspeed-core/rag-tool-cpu-rhel9 as a component of Lightspeed Core · lightspeed-core/rag-tool-cuda-12.9-rhel9 as a component of Lightspeed Core · +58 more
Red Hat Security Advisory: Red Hat AI Inference 3.5.4 (Spyre)
Red Hat Security Advisory: Red Hat AI Inference Model Optimization Tools 3.5.4 (CUDA)
Red Hat Security Advisory: Red Hat AI Inference 3.5.4 (CUDA)
Red Hat Security Advisory: Red Hat AI Inference 3.5.4 (CPU)
Red Hat Security Advisory: Red Hat AI Base Images 3.0.7 (CUDA)
50 more advisories
Fix
- Update Pypa pip to 26.1.2
- Vendor fix Red Hat Product Security RHSA-2026:103423 · 3 productsFor more information visit https://access.redhat.com/errata/RHSA-2026:103423
- Vendor fix Red Hat Product Security RHSA-2026:103422 · 2 productsFor more information visit https://access.redhat.com/errata/RHSA-2026:103422
- Vendor fix Red Hat Product Security RHSA-2026:103421 · 2 productsFor more information visit https://access.redhat.com/errata/RHSA-2026:103421
- Vendor fix Red Hat Product Security RHSA-2026:103315 · 1 productFor more information visit https://access.redhat.com/errata/RHSA-2026:103315
- Vendor fix Red Hat Product Security RHSA-2026:91236 · 2 productsFor more information visit https://access.redhat.com/errata/RHSA-2026:91236
- Vendor fix Red Hat Product Security RHSA-2026:91232 · 2 productsFor more information visit https://access.redhat.com/errata/RHSA-2026:91232
Advisories and patches
- github.comPatch
- mail.python.orgVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-03
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2026-06-01
- CNACVSS 4.04.1known since 2026-10-23
- CNACVSS 3.18known since 2026-10-23
- NVDCVSS 3.15.5read 2026-10-23
- CISA-ADPweakness (CWE)CWE-222026-06-01
- CNAweakness (CWE)CWE-22known since 2026-10-23
- FIRST EPSSEPSS score0.3 %2026-12-03
- OSVaffected packages—
- GitHub AdvisoriesadvisoryModerate2026-07-08
- Microsoft MSRCadvisory—
Identifiers
- AZL-89325same flawAzure Linux · MIT
- AZL-89463same flawAzure Linux · MIT
- CGA-2832-f5h5-x87qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3c88-mqj5-h9w4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3gfq-3vmv-c2pxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3mrm-694v-3xmpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3vm7-5rm2-jr7gsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3x95-9x94-w6r5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4735-9rgc-5pqxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-49rx-qj6p-8hp2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-534f-x3j5-3646same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6cr2-4f4x-wrqhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6f27-xj88-68jmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6fqx-fxq3-676gsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6j8j-hxpf-g8w4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7g8r-gpr6-v376same flawChainguard · CC-BY-NC-ND-4.0
- CGA-86rm-xvhh-p4mcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8c7f-3wg7-w77wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8f8m-649j-9p8msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-97jj-cqmw-2ggmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9jmc-86qq-683vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9jp8-r3fj-cx47same flawChainguard · CC-BY-NC-ND-4.0
- CGA-c89r-8x94-4277same flawChainguard · CC-BY-NC-ND-4.0
- CGA-f47w-pvgw-2wmgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-f76v-j3qh-35jjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-fmm5-6r4q-rhpwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-fqx2-c7hh-47vjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-gx82-pq9h-xvp3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-h7wv-3f62-ch79same flawChainguard · CC-BY-NC-ND-4.0
- CGA-hqxj-3h7p-rgp7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-hxrw-j53q-mhhvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-j8v5-762m-hw8rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-jww9-wc92-gmrmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-mf74-wj67-g5xcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-mgqg-w62q-8xvgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-p28j-qv9w-6gfjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-p732-v9ff-r37csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-pjmj-jhgg-m8rpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-pm97-wfcw-m854same flawChainguard · CC-BY-NC-ND-4.0
- CGA-qj86-826j-9923same flawChainguard · CC-BY-NC-ND-4.0
- CGA-qm35-g2v8-qpfmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-v2vw-v57w-9hvhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-v492-249g-jqv3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-vfr8-wp3r-4hxxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-x57m-r3fc-wp3xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-x7cp-f5p3-wvq5same flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2026-33682same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-wf93-45jw-7689same flawGitHub Advisory Database · CC-BY-4.0
- MINI-5x67-333m-f4gjsame flawMinimOS · LicenseRef-unstated
- MINI-75pp-5cxq-4wc8same flawMinimOS · LicenseRef-unstated
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- CVSS 4.0 vector
- 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
- Published
- 2026-06-01
- Last modified
- 2026-09-16
- NVD status
- Modified
- MSRC title
- pip can extract console_scripts and gui_scripts outside installation directory
- GitHub advisory
- GHSA-wf93-45jw-7689
Frequently asked questions
What is CVE-2026-8643?
Is CVE-2026-8643 actively exploited?
What is the CVSS score for CVE-2026-8643?
Running pip? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2013-5123same product
- CVE-2019-20916same product
- CVE-2026-21441same product
- CVE-2021-3572same product
- CVE-2025-66471same product
- CVE-2025-66418same product
- CVE-2026-44432same product
- CVE-2026-97689same producturllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-wf93-45jw-7689
- Microsoft MSRC · Microsoft terms of use (personal and non-commercial use) · terms restrict redistribution
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0