Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 76%

CVE-2026-8643: Vulnerability in Python Packaging Authority pip

0
Medium
VulnerabilityCVE-2026-8643cvecve-2026-8643
Published: 06/01/2026 (06/01/2026, 15:01:32 UTC)
Source: CVE Database V5
Vendor/Project: Python Packaging Authority
Product: 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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
Active
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

Affected versions
=24.024.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 22:40:34 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses