Skip to main content
No exploitation reportedFix available

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?

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
  1. 2026-06-0117:17CVE publishedNVD

Versions per branch

NVD · OSV
Pypa pip
BranchAffectedFixed in
26.1< 26.1.226.1.2

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

  • CVE-2026-8643 Red Hat Product Security244 products fixed · 61 known affected

    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

  • RHSA-2026:103423 Red Hat Product Security3 products fixed

    Red Hat Security Advisory: Red Hat AI Inference 3.5.4 (Spyre)

  • RHSA-2026:103422 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Red Hat AI Inference Model Optimization Tools 3.5.4 (CUDA)

  • RHSA-2026:103421 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Red Hat AI Inference 3.5.4 (CUDA)

  • RHSA-2026:103315 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat AI Inference 3.5.4 (CPU)

  • RHSA-2026:91236 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Red Hat AI Base Images 3.0.7 (CUDA)

50 more advisories

Full record on NVD

Fix

  1. Update Pypa pip to 26.1.2
  2. Vendor fix Red Hat Product Security RHSA-2026:103423 · 3 productsFor more information visit https://access.redhat.com/errata/RHSA-2026:103423
  3. Vendor fix Red Hat Product Security RHSA-2026:103422 · 2 productsFor more information visit https://access.redhat.com/errata/RHSA-2026:103422
  4. Vendor fix Red Hat Product Security RHSA-2026:103421 · 2 productsFor more information visit https://access.redhat.com/errata/RHSA-2026:103421
  5. Vendor fix Red Hat Product Security RHSA-2026:103315 · 1 productFor more information visit https://access.redhat.com/errata/RHSA-2026:103315
  6. Vendor fix Red Hat Product Security RHSA-2026:91236 · 2 productsFor more information visit https://access.redhat.com/errata/RHSA-2026:91236
  7. 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

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

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?

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.

Is CVE-2026-8643 actively exploited?

Active exploitation of CVE-2026-8643 has not been confirmed. Its EPSS score was 0.3% on 2026-12-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-8643?

CVE-2026-8643 has a CVSS v3 base score of 5.5 (Medium severity), with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.

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

Sources for this record