Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Python

CVE-2026-8643

Medium · CVSS 4.1EPSS 0.3% First seen December 01, 2026
PythonVulnerabilities

Research article

pip Path Traversal Vulnerability in Python Packaging Authority Software

CVECVE-2026-8643
PublishedDecember 01, 2026 15:05 UTC
Research cut-offDecember 01, 2026 14:55 UTC
Sources reviewed3: 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

FieldValue
CVE IDCVE-2026-8643 [1]
VendorPython Packaging Authority [1]
Productpip [1]
CWECWE-22 (Improper Limitation of a Pathname to a Restricted Directory) [1]
CVSS 3.15.5 MEDIUM, scored by nvd@nist.gov (Primary) [1]
CVSS 4.04.1 MEDIUM, scored by cna@python.org (Secondary) [1]
Published2026-06-01T17:17:35 [1]
Last Modified2026-09-16T13:18:08 [1]
Record StatusModified [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

ProductAffected VersionFixed Version
pip≥ 24.0, < 26.1.2 [1]26.1.2 [1]
pypa pip< 26.1.2 [1]26.1.2 [1]

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

  1. Update pip to version 26.1.2 or later [1, 3].
  2. Verify the installed pip version using the command 'pip --version' [1].
  3. Review the pip changelog for any additional security updates [1].
  4. Ensure all Python environments are updated to use the latest pip version [1].

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

  1. 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. CVE identification, CVSS scores, affected versions, CPE configurations, and references
  2. 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. Exploitation status and threat intelligence status
  3. USN-9294-1: pip vulnerabilities. Ubuntu USN, 2026-12-01. https://ubuntu.com/security/notices/USN-9294-1. Accessed 2026-12-01. Vulnerability description, affected versions, and remediation details

Written with AI assistance from the 3 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

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…

Excerpt from Ubuntu USN. No official description has been published yet.

Severity breakdown

Medium · 4.1 CVSS 4.0 base score 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.

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

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 · CVSS 3.1 5.5 from NVD: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Affected and fixed versions

ProductAffected versionsFixed in
Python Packaging Authority pip≥ 24.0, < 26.1.226.1.2

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Other references

+25 more on the NVD record.

Details from NVD (public domain).

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.

Timeline & sources

References

Related vulnerabilities & news