CVE-2026-136440 PUBLISHED

Python Packaging Authority pip Configuration File Incorrect Permission Assignment Local Privilege Escalation Vulnerability

Assigner: zdi
Reserved: 24.11.2026 Published: 24.11.2026 Updated: 24.11.2026

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.

Metrics

CVSS Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
CVSS Score: 7.3

Product Status

Vendor Python Packaging Authority
Product pip
Versions Default: unknown
  • Version 3.12.7 is affected

References

Problem Types

  • CWE-732: Incorrect Permission Assignment for Critical Resource CWE