CVE-2026-8643
Research article
pip Path Traversal Vulnerability in Python Packaging Authority Software
| CVE | CVE-2026-8643 |
|---|---|
| Published | December 01, 2026 15:05 UTC |
| Research cut-off | December 01, 2026 14:55 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-09-16); CISA KEV catalog; 1 vendor bulletin |
Executive summary
CVE-2026-8643 represents a path traversal flaw in the pip package manager, impacting versions from 24.0 up to, but not including, 26.1.2. The CVSS 3.1 score is 5.5 MEDIUM, assigned by nvd@nist.gov (Primary). The reviewed sources do not provide evidence of exploitation. Affected systems should be updated to pip version 26.1.2 to resolve the issue [1, 3].
Key points
- CVE-2026-8643 is a path traversal flaw in the pip package manager [1].
- The CVSS 3.1 score is 5.5 MEDIUM, assigned by nvd@nist.gov (Primary) [1].
- The vulnerability affects pip versions from 24.0 up to, but not including, 26.1.2 [1].
- The reviewed sources do not provide evidence of exploitation [2].
- The vulnerability is resolved in pip version 26.1.2 [1, 3].
Vulnerability identification
| Field | Value |
|---|---|
| CVE ID | CVE-2026-8643 [1] |
| Vendor | Python Packaging Authority [1] |
| Product | pip [1] |
| CWE | CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) [1] |
| CVSS 3.1 | 5.5 MEDIUM, scored by nvd@nist.gov (Primary) [1] |
| CVSS 4.0 | 4.1 MEDIUM, scored by cna@python.org (Secondary) [1] |
| Published | 2026-06-01T17:17:35 [1] |
| Last Modified | 2026-09-16T13:18:08 [1] |
| Record Status | Modified [1] |
Vulnerability description
This vulnerability enables an attacker to potentially install executable scripts outside the intended directory due to improper validation of console_scripts and gui_scripts entry points during wheel installation [3]. It is also linked to pip's handling of urllib3 for processing chunked transfer-encoded responses [3].
Attack surface and exploitation prerequisites
The CVSS 3.1 vector indicates that the vulnerability requires local access (AV:L), low privileges (PR:L), and no user interaction (UI:N). The attack can only originate from a local system [1].
Impact analysis
The CVSS 3.1 vector shows no impact on confidentiality (C:N), high impact on integrity (I:H), and no impact on availability (A:N) [1]. The sources state that an attacker could potentially install executable script files outside the intended installation directory [3].
Affected products and versions
Exploitation and threat intelligence status
CVE-2026-8643 is not included in the CISA Known Exploited Vulnerabilities Catalog as of 2026-12-01 [2]. The reviewed sources do not report any exploitation. The CISA KEV catalog does not list CVE-2026-8643 as of 2026-12-01 [2]; the sources do not report an EPSS score for it.
Detection and exposure assessment
Systems using pip versions from 24.0 up to, but not including, 26.1.2 are potentially at risk [1]. Administrators should verify the installed pip version and ensure it is upgraded to 26.1.2 to reduce the risk [1, 3].
Remediation
The vulnerability is resolved in pip version 26.1.2 [1, 3]. The vendor released a fix for this vulnerability in pip version 26.1.2 [3].
Remediation checklist
Evidence gaps
- The sources do not describe the internal workings of the affected component.
- The sources do not mention any workaround for the vulnerability.
- The sources do not provide details on the attack lifecycle or scenarios.
- The sources do not include indicators of compromise.
- The sources do not state whether the vendor has released updates beyond version 26.1.2.
References
- CVE-2026-8643 record. NIST National Vulnerability Database (NVD), 2026-09-16. https://nvd.nist.gov/vuln/detail/CVE-2026-8643. Accessed 2026-12-01.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-12-01. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-12-01.
- USN-9294-1: pip vulnerabilities. Ubuntu USN, 2026-12-01. https://ubuntu.com/security/notices/USN-9294-1. Accessed 2026-12-01.
Summary
It was discovered that pip incorrectly validated consolescripts and guiscripts entry points when installing wheels. An attacker could possibly use this issue to install executable script files outside of the intended installation directory. (CVE-2026-8643) It was discovered that pip's bundled urllib3 library incorrectly handled chunked transfer-encoded responses. A remote attacker could possibl…
Severity breakdown
Medium · 4.1
An attacker with a normal user account can exploit this with local access if a user is tricked into an action, but only under specific conditions.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- low (no special conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- yes, a normal user account
- User action needed
- yes, a user must deliberately do something
- Impact
- high on integrity, none on confidentiality and availability
- Impact on other systems
- none
Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Python Packaging Authority pip | ≥ 24.0, < 26.1.2 | 26.1.2 |
References by type
Vendor advisories
Patches and fixed releases
Other references
- openwall.com/lists/oss-security/2026/06/01/5
- access.redhat.com/errata/RHSA-2026:33313
- access.redhat.com/errata/RHSA-2026:34374
- access.redhat.com/errata/RHSA-2026:34456
- access.redhat.com/errata/RHSA-2026:34739
- access.redhat.com/errata/RHSA-2026:34740
- access.redhat.com/errata/RHSA-2026:34741
- access.redhat.com/errata/RHSA-2026:34748
- access.redhat.com/errata/RHSA-2026:34749
- access.redhat.com/errata/RHSA-2026:34750
- access.redhat.com/errata/RHSA-2026:34752
- access.redhat.com/errata/RHSA-2026:34756
- access.redhat.com/errata/RHSA-2026:34758
Frequently asked questions
What is CVE-2026-8643?
CVE-2026-8643 represents a path traversal flaw in the pip package manager, impacting versions from 24.0 up to, but not including, 26.1.2. The CVSS 3.1 score is 5.5 MEDIUM, assigned by nvd@nist.gov (Primary). The reviewed sources do not provide evidence of exploitation. Affected systems should be updated to pip version 26.1.2 to resolve the issue. Weakness type: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE-22).
How severe is CVE-2026-8643?
CVE-2026-8643 has a CVSS 4.0 base score of 4.1 (medium), from the CNA (python.org). An attacker with a normal user account can exploit this with local access if a user is tricked into an action, but only under specific conditions.
Is CVE-2026-8643 being exploited?
Not as far as is known: CVE-2026-8643 is not in CISA's Known Exploited Vulnerabilities catalog as of December 1, 2026. EPSS estimates a 0.3% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-8643?
Python Packaging Authority pip ≥ 24.0, < 26.1.2 (fixed in 26.1.2).
How do I fix CVE-2026-8643?
Update pip to version 26.1.2 or later. Verify the installed pip version using the command 'pip --version'. Review the pip changelog for any additional security updates.