CVE-2026-8643: Vulnerability in Python Packaging Authority pip
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.
AI Analysis
Technical Summary
The vulnerability in pip arises from treating console_scripts and gui_scripts as paths instead of sanitized file names, which leads to the installation of entry points outside the intended directory. This path traversal issue (CWE-22) can allow an attacker with local privileges to overwrite arbitrary files during pip wheel installation. The CVSS 4.1 score reflects a medium severity with local attack vector, low complexity, partial privileges required, and user interaction needed. Red Hat advisories confirm the issue and provide fixes within their Ansible Automation Platform updates, indicating that patched versions are available through those updates. No direct patch link for pip itself is provided in the advisory, and the remediation level is not explicitly stated, so patch status should be confirmed via vendor advisories.
Potential Impact
An attacker with local access and partial privileges could exploit this vulnerability by crafting malicious entry point names that cause pip to write files outside the installation directory, potentially overwriting arbitrary files. This could lead to unauthorized file modification or code execution depending on the context of the overwritten files. The impact is limited by the need for local access and user interaction, and no known exploits are reported in the wild.
Mitigation Recommendations
Red Hat has issued security advisories addressing this vulnerability as part of updates to their Ansible Automation Platform. Users should apply these vendor-provided updates to remediate the issue. Since no explicit patch or remediation level is stated for pip itself, users should monitor the official Python Packaging Authority and Red Hat advisories for confirmed patches or workarounds. Until patched, avoid installing untrusted packages or entry points that could exploit this path traversal. Patch status is not yet confirmed for pip upstream; check vendor advisories for current remediation guidance.
CVE-2026-8643: Vulnerability in Python Packaging Authority pip
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.
CVSS v4.0
Score 4.1medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in pip arises from treating console_scripts and gui_scripts as paths instead of sanitized file names, which leads to the installation of entry points outside the intended directory. This path traversal issue (CWE-22) can allow an attacker with local privileges to overwrite arbitrary files during pip wheel installation. The CVSS 4.1 score reflects a medium severity with local attack vector, low complexity, partial privileges required, and user interaction needed. Red Hat advisories confirm the issue and provide fixes within their Ansible Automation Platform updates, indicating that patched versions are available through those updates. No direct patch link for pip itself is provided in the advisory, and the remediation level is not explicitly stated, so patch status should be confirmed via vendor advisories.
Potential Impact
An attacker with local access and partial privileges could exploit this vulnerability by crafting malicious entry point names that cause pip to write files outside the installation directory, potentially overwriting arbitrary files. This could lead to unauthorized file modification or code execution depending on the context of the overwritten files. The impact is limited by the need for local access and user interaction, and no known exploits are reported in the wild.
Mitigation Recommendations
Red Hat has issued security advisories addressing this vulnerability as part of updates to their Ansible Automation Platform. Users should apply these vendor-provided updates to remediate the issue. Since no explicit patch or remediation level is stated for pip itself, users should monitor the official Python Packaging Authority and Red Hat advisories for confirmed patches or workarounds. Until patched, avoid installing untrusted packages or entry points that could exploit this path traversal. Patch status is not yet confirmed for pip upstream; check vendor advisories for current remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- PSF
- Date Reserved
- 2026-05-14T20:21:04.562Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-8643","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:33313","vendor":"Red Hat"}]
Threat ID: 6a1dbba7e29bf47b501c5819
Added to database: 06/01/2026, 17:04:39 UTC
Last enriched: 07/30/2026, 22:40:34 UTC
Last updated: 07/31/2026, 21:26:48 UTC
Views: 114
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.