Read the docs

Local privilege escalation in pip via configuration file permissions

Priority LOW 33CWE-732Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.0 · CNA. Fix status from CNA.

Summary

The Python Packaging Authority pip package at version 3.12.7 stores configuration files with incorrect permissions (CWE-732). A local attacker who can already run low-privileged code can escalate privileges and run arbitrary code in the context of a target user, and that user must interact with the attack. The record lists no CISA KEV entry and no exploit link in the references.

Written with Claude Haiku 5.5 from the sources below · 2026-11-24

Description from the CNA

Python Packaging Authority pip Configuration File Incorrect Permission Assignment Local Privilege Escalation Vulnerability. This vulnerability allows local attackers to escalate privileges on affected installations of Python Packaging Authority pip. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. User interaction on the part of a target user is also required. The specific flaw exists within the way configuration files are stored. The issue results from incorrect permissions on files. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of a target user. Was ZDI-CAN-25377.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0018 4th percentileScored 2026-11-30
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Python Packaging Authoritypip3.12.7—No fix listedCNA

Remediation

The sources list no fixed version for pip.

Written with Claude Haiku 5.5 from the sources below · 2026-11-24

Timeline

  1. 2026-11-24 Threatist record created from CVE-2026-136440
  2. 2026-11-24 Alias added: GHSA-gc8x-7p4m-x3rv
  3. 2026-11-30 CISA SSVC decision points changed

References

  • TI-2025-08119 Fallback tar extraction in pip doesn't check symbolic links point to extraction directory CVSS 4.0MEDIUM 5.9
  • TI-2026-02782 pip doesn't reject concatenated ZIP and tar archives CVSS 4.0MEDIUM 4.6
  • TI-2026-01386 Limited path traversal when installing wheel archives CVSS 4.0LOW 2.0

Sources