Skip to main content

pip EUVDEUVD-2026-134462

| CVE-2026-136440 HIGH
Incorrect Permission Assignment for Critical Resource (CWE-732)
2026-11-24 zdi GHSA-gc8x-7p4m-x3rv
7.3
CVSS 3.0 · Vendor: zdi
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privileged local code execution
  2. Delivery
    Locate pip config file with weak permissions
  3. Exploit
    Tamper with configuration contents
  4. Execution
    Wait for target user to run pip
  5. Impact
    Arbitrary code executes in target user context

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V13 - Configuration Permission assignment review
Exploitation Conditions

Exploitation requires three specific conditions drawn from the description and CVSS vector: (1) the attacker must already possess the ability to execute low-privileged code on the target system (local access, PR:L - authenticated per the CVSS vector), (2) a pip configuration file must exist with incorrect/overly-permissive permissions (CWE-732) that the attacker can modify, and (3) a target user must subsequently invoke pip so the tampered configuration takes effect (UI:R, user interaction required). Limiting factors: no remote vector exists (AV:L), the scope is unchanged (S:U) so impact is confined to the target user's context, and success depends on the victim actually running pip after the config is poisoned. The exact configuration file and the specific permission misassignment are not described in the available sources.

Impact

This is a locally-exploitable privilege-escalation flaw (CVSS 3.0 base 7.3) in pip, the standard Python package installer. The CVSS vector CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H confirms the realistic risk is bounded: an attacker needs local code-execution ability on the host (PR:L, authenticated low-privileged access) AND must induce a target user to take an action (UI:R), so this is not a remote or drive-by condition. No EPSS score, KEV listing, or confirmed public PoC is present in the supplied data, so there is no public exploit identified at time of analysis and no evidence of active exploitation. The vuln.today decision label is this_week rather than act_now/emergency, consistent with a serious-but-not-fire-drill issue discovered through coordinated disclosure (ZDI/ZDI-CAN-25377) rather than in-the-wild abuse. The high C/I/A impacts reflect full compromise of the target user's context once the chain succeeds, but the compounded prerequisites (prior local foothold plus user interaction) keep real-world exploitability moderate. Note the input Tags include 'RCE' while the description and CWE-732 frame this as a local permission/privilege-escalation issue that culminates in code execution in a target user's context - these are not contradictory but the primary mechanism is incorrect file permissions, not remote code execution.

Exploit ScenarioDerived

A low-privileged local attacker who already has the ability to run code on a shared or multi-user system writes to or tampers with a pip configuration file that was created with incorrect (overly permissive) permissions. When a higher-privileged target user subsequently runs pip, the attacker-controlled configuration causes arbitrary code to execute in that user's context, escalating the attacker's privileges. No public exploit is identified in the available data, and the chain requires the target user to actually invoke pip (UI:R).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 24, 2026

Local privilege escalation in the Python Packaging Authority's pip package installer lets an attacker who already holds low-privileged code execution tamper with an incorrectly permissioned pip configuration file, so that when the victim next runs pip the poisoned configuration executes arbitrary code in that user's context (CVSS 3.0 base 7.3). Per the CVSS vector the attacker is authenticated locally and user interaction is required - the victim must actually invoke pip after the configuration is modified - and the scope is unchanged, so impact stays within the targeted user's privileges rather than crossing a security boundary into root. Only the ZDI advisory (ZDI-26-1066, tracking ZDI-CAN-25377) is referenced; no public exploit code and no vendor-released fix were identified at time of analysis, and the vulnerability is tracked for remediation this week.

RemediationAI

No vendor-released patch identified at time of analysis: the provided intelligence contains no fixed pip version, no patch commit, and no upstream PR, so the affected-version and fix information must be taken directly from the ZDI advisory ZDI-26-1066 (https://www.zerodayinitiative.com/advisories/ZDI-26-1066/) and from the pip project's own release notes before upgrading; do not assume an arbitrary newer pip release is fixed. Because the root cause is CWE-732, the actionable compensating control is to remove the misassignment itself - audit every pip configuration location in use (the system-wide /etc/pip.conf or /etc/xdg/pip/pip.conf, per-user ~/.config/pip/pip.conf and legacy ~/.pip/pip.conf, and any pip.conf inside virtualenvs) and ensure each is owned by root or by the legitimate owning account and is not group- or world-writable; the trade-off is that tightening these modes can break shared or multi-user environments where a service account expects to rewrite pip configuration, so ownership should be delegated rather than the write bit being restored globally. Operators should also identify any configuration path writable by a lower-privileged account that is later read by a more-privileged user, since that is the precise precondition described by the advisory, and remember that the exploitation prerequisite is an existing local foothold - so the control pair is host-level account isolation plus configuration-file permission hygiene rather than a network mitigation.

Affected VersionsENISA

pip 3.12.7

Affected Packages

euvd pip no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-732 (Incorrect Permission Assignment for Critical Resource) in pip, the reference package installer for Python, whose CPE (cpe:2.3:a:python_packaging_authority:pip) lists the product without a version constraint. pip reads layered configuration files - a site-wide file such as /etc/pip.conf, a per-user file such as ~/.config/pip/pip.conf or ~/.pip/pip.conf, and per-virtualenv files - and those files can influence installer behaviour. The reported issue is that configuration files are stored with incorrect (overly permissive) permissions, allowing a local attacker who can already execute low-privileged code to modify a configuration that a higher-privileged target user later consumes. The exact configuration file path and the specific misassigned permission bits are not described in the available sources, and the sources do not specify how a modified configuration is turned into code execution; the trigger mechanism beyond the permission defect is not described. Because the CVSS vector is AV:L/AC:L/PR:L/UI:R/S:U, the attack surface is strictly local and authenticated, the attacker needs a legitimate foothold on the host, the victim must run pip for the tampered configuration to take effect, and the resulting impact is confined to the victim's own privilege level.

Know when Python gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (zdi) PRIMARY 7.3 HIGH
AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.3 HIGH

Local foothold and existing low privileges give AV:L/PR:L; target user must run pip (UI:R); poisoned config yields full code execution in that user's context (C:H/I:H/A:H, S:U).

3.1 AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (zdi).

CVSS VectorVendor: zdi

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

CVE-2026-136440 is a high-severity local privilege escalation in pip, the Python package installer, affecting developers and CI/CD systems that use pip. An attacker with low-privileged access can modify a misconfigured pip configuration file so that the next time a victim runs pip, arbitrary code executes in the victim's context. Leadership should care because compromise of developer or build accounts can lead to supply chain attacks, intellectual property theft, and lateral movement within engineering environments.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include enforcing strict file permissions on pip configuration files (owner-only write), restricting local access to build and developer systems, using least-privilege accounts for development, monitoring configuration files for unauthorized changes, and avoiding running pip with elevated privileges.

Threat Intelligence Overview

EPSS Score
0.2%
Top 96% exploitable
Prevalence
Ubiquitous
pip is the default package installer shipped with virtually all Python environments
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy