Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privileged local code execution
-
DeliveryLocate pip config file with weak permissions
-
ExploitTamper with configuration contents
-
ExecutionWait for target user to run pip
-
ImpactArbitrary 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). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
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).
Primary rating from Vendor (zdi).
CVSS VectorVendor: zdi
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.
Zero Day Initiative Advisories
Executive ViewAI
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
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
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2026-134462
GHSA-gc8x-7p4m-x3rv
NVD
CVE.org
EPSS
Exploit-DB