Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-136440: high-severity vulnerability (CVSS 7.3) in Python Packaging Authority pip.
What happened
Original description from the source: 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
High severity, CVSS 7.3.
Affected products and versions
Python Packaging Authority pip 3.12.7
| Product | Versions | Fixed in |
|---|---|---|
| Python Packaging Authority pip | 3.12.7 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
Weaknesses (CWE): CWE-732
Relevant change history
Published
Preliminary advisory published.