Local privilege escalation in pip via configuration file permissions
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Python Packaging Authority | pip | 3.12.7 | — | No fix listed | CNA |
- pip VendorPython Packaging Authority Affected 3.12.7 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for pip.
Written with Claude Haiku 5.5 from the sources below · 2026-11-24
Timeline
- 2026-11-24 Threatist record created from CVE-2026-136440
- 2026-11-24 Alias added: GHSA-gc8x-7p4m-x3rv
- 2026-11-30 CISA SSVC decision points changed
References
Other 1
More Python Packaging Authority vulnerabilities
- 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
- CVE-2026-136440 · CVE Program
- CVE-2026-136440 · NVD
- FIRST EPSS
- GHSA-gc8x-7p4m-x3rv · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences