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…

CVE-2026-13346: CWE-36 Absolute path traversal in Python Packaging Authority pip

0
Medium
VulnerabilityCVE-2026-13346cvecve-2026-13346cwe-36
Published: 07/29/2026 (07/29/2026, 18:33:50 UTC)
Source: CVE Database V5
Vendor/Project: Python Packaging Authority
Product: pip

Description

pip would incorrectly handle doubly-encoded package URLs from indexes allowing for files to be installed to arbitrary locations on disk even when installing wheels. This vulnerability requires downloading or installing a package from a malicious package index to succeed, malicious packages alone are not able to exploit this vulnerability. Note that this vulnerability only materially impacts users running `pip download` with the `--only-binary` option as installing source distributions from an untrusted index is already an unsafe operation that executes code during install time.

CVSS v4.0

Score 5.6medium

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
High
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:N/AC:H/AT:P/PR:H/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Affected software

pip
pkg:pypi/pip
Affected versions
<26.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/29/2026, 19:10:09 UTC

Technical Analysis

The vulnerability in pip involves incorrect processing of doubly-encoded package URLs from package indexes, which can lead to absolute path traversal. This allows an attacker controlling a malicious package index to cause files to be installed to arbitrary locations on the victim's filesystem during wheel installation. The vulnerability requires user interaction to download or install packages from a malicious index and mainly impacts the 'pip download' command when used with the '--only-binary' option. Source distribution installs from untrusted indexes are already unsafe due to code execution risks and are not the focus of this issue. No official patch or remediation level has been provided as of the published date.

Potential Impact

An attacker controlling a malicious package index can exploit this vulnerability to cause pip to install files to arbitrary locations on disk when installing wheels, potentially overwriting or adding files outside the intended installation directory. This could lead to unauthorized file modification or persistence on the affected system. However, exploitation requires the user to download or install packages from a malicious index and use the '--only-binary' option with 'pip download'. There are no known exploits in the wild at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid downloading or installing packages from untrusted or malicious package indexes, especially when using the '--only-binary' option with 'pip download'. Exercising caution with package sources remains critical. No official fix or temporary workaround has been documented yet.

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-06-25T14:15:08.834Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a6a4bfc9c2644c7f8e93eb6

Added to database: 07/29/2026, 18:52:44 UTC

Last enriched: 07/29/2026, 19:10:09 UTC

Last updated: 07/30/2026, 01:24:17 UTC

Views: 8

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.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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