Home / Python Packaging Authority / pip / CVE-2026-8643
CVE-2026-8643: is it exploited, and which versions of Python Packaging Authority pip are affected and fixed?
CVE-2026-8643 is a path traversal (reading or writing files outside the intended folder) vulnerability in Python Packaging Authority pip. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: pip before 26.1.2 (GitHub advisory GHSA-wf93-45jw-7689). Fixed in 26.1.2 (GitHub advisory GHSA-wf93-45jw-7689). Severity: Medium (4.1, CVSS 4.0, from PSF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:10 UTC.
What is CVE-2026-8643?
pip can extract console_scripts and gui_scripts outside installation directory
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.
From the CVE record by PSF, last updated September 16, 2026, 12:04 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Python Packaging Authority | pip | from 24.0 before 26.1.2 | 26.1.2 |
As the CVE record by PSF states it, last updated September 16, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | pip | < 26.1.2 | 26.1.2 | GHSA-wf93-45jw-7689 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 10, 2026. Summary: pip: Path traversal in console_scripts/gui_scripts entry point names allows installing scripts outside of target directory.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| pypa | pip | before 26.1.2 | application |
NVD analysis (status Modified), last modified September 16, 2026, 13:18 UTC.
How severe is CVE-2026-8643?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.1 | CVSS 4.0 | 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 | PSF |
| High 8.0 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H | redhat-SADP |
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-8643 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, June 1, 2026)
- EPSS
- 0.32% probability of exploitation activity in the next 30 days, percentile 27.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://github.com/pypa/pip/pull/14000 patch
- https://mail.python.org/archives/list/[email protected]/thread/YV63UET5D3OOJY7O4M5XCVYO2YM4NBYJ/ vendor-advisory
- http://www.openwall.com/lists/oss-security/2026/06/01/5
- https://access.redhat.com/security/cve/CVE-2026-8643 vdb-entry, x_refsource_REDHAT
- RHBZ#2460927 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-8643.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:42078 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:42079 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:36193 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:36315 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:42144 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:50479 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:34374 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:42132 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:54760 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:33313 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:34891 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:56347 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:42644 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:34772 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:34778 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:34780 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:34773 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:34774 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:34739 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:34752 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:34765 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:34758 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:34756 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:34760 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:34776 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:34748 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:34775 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:34740 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:34749 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:34750 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:34741 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:34777 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:37275 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60520 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:34456 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:37283 vendor-advisory, x_refsource_REDHAT
Who found and reported it?
- LumĂr Balhar (reporter)
- Damian Shaw (https://github.com/notatallshaw) (remediation developer)
- Gregory P. Smith (https://github.com/gpshead) (remediation reviewer)
- Jannis Leidel (https://github.com/jezdez) (remediation reviewer)
- Pradyun Gedam (https://github.com/pradyunsg) (remediation reviewer)
- Paul Moore (https://github.com/pfmoore) (remediation reviewer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- May 14, 2026
- Published
- June 1, 2026, 15:01 UTC
- CVE record updated
- September 16, 2026, 12:04 UTC by PSF
- NVD
- Modified, last modified September 16, 2026, 13:18 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:10 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect pip?
- Nov 24, 2026CVE-2026-136440 Python Packaging Authority pip: incorrect permissions on a critical resource
- Jul 29, 2026CVE-2026-13346 Python Packaging Authority pip: absolute Path Traversal
- Apr 20, 2026CVE-2026-3219 Python Packaging Authority pip: unrestricted file upload
- Feb 2, 2026CVE-2026-1703 Python Packaging Authority pip: path traversal (reading or writing files outside the intended folder)
- Sep 24, 2025CVE-2025-8869 Python Packaging Authority pip: link following (a symlink lets an attacker reach other files)
Questions about CVE-2026-8643
Is CVE-2026-8643 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.32% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Python Packaging Authority pip are affected by CVE-2026-8643?
pip before 26.1.2, per the GitHub advisory GHSA-wf93-45jw-7689. The tables above give every range the sources list.
Which version fixes CVE-2026-8643?
26.1.2, per the GitHub advisory GHSA-wf93-45jw-7689. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-8643?
Medium (4.1, CVSS 4.0, from PSF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-8643?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.