Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V13 - Configuration Search path element control
|
| Impact | This vulnerability presents moderate real-world risk despite the 5.6 CVSS score. The CVSS vector indicates local attack vector (AV:L), low attack complexity (AC:L), low impact on integrity (VI:H - module integrity is compromised), no impact on confidentiality or availability in the default case, and user interaction required (UI:A). The attack requires the user to execute pymanager in a directory containing attacker-controlled files, making it primarily a supply-chain or shared-system risk. The integrity impact (VI:H) is notable because shadowed modules execute arbitrary code in the victim's context. However, the local-only attack vector and user interaction requirement limit widespread exploitation. EPSS data is not provided, but the combination of low automation potential (requires file placement + user action), local scope, and moderate CVSS suggests this ranks below network remote-code-execution vulnerabilities in priority. Organizations using pymanager in multi-user or build environments should prioritize patching, while isolated single-user installations face minimal risk. |
| Exploit ScenarioDerived | An attacker creates a malicious module file (e.g., shadow_module.py) in a directory where a developer or build process runs pymanager. When pymanager imports a legitimate module of the same name, the malicious version in the current directory is loaded and executed instead, allowing the attacker to steal credentials, modify build artifacts, or escalate privileges depending on the shadowed module's role. For example, if a developer runs pymanager in a git repository containing an attacker-controlled .py file, and pymanager imports a commonly used module like 'requests' or 'json', the attacker's version executes with the developer's privileges. While this requires the victim to run pymanager in a compromised directory, it is practical in shared development machines, CI/CD pipelines, or supply-chain scenarios. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 01, 2026
pymanager allows local attackers to shadow legitimate Python modules by placing malicious modules in the current working directory, leading to arbitrary code execution when the application imports standard library or third-party modules. The vulnerability affects pymanager due to insecure sys.path manipulation that includes the current working directory with high priority, enabling privilege escalation or information disclosure depending on the affected module and execution context. No public exploit code has been identified, but the local attack vector with low complexity makes this a practical risk in shared or untrusted execution environments.
RemediationAI
Users must update pymanager to a patched version released by the Python project. Patch availability and exact version numbers should be confirmed via the official GitHub security advisory at https://github.com/python/pymanager/security/advisories/GHSA-jr5x-hgm4-rrm6. As a workaround pending patching, avoid executing pymanager from untrusted directories or directories shared with other users, and sanitize the current working directory before running pymanager in automated environments. For Python package managers and build systems, consider running pymanager in isolated environments or with restricted sys.path configurations. The upstream fix removes the insecure inclusion of the current working directory from sys.path or reorders sys.path to prioritize standard library and site-packages over cwd.
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
pymanager is a Python package management and execution tool that manipulates Python's module search path (sys.path) during initialization. The vulnerability stems from insecure handling of sys.path, where the current working directory is included early in the module resolution order, violating the principle of least privilege for module loading. This is a classic Python path injection vulnerability (related to CWE-426: Untrusted Search Path and CWE-427: Uncontrolled Search Path Element). When Python's import system searches for modules, it traverses sys.path in order; by placing a malicious module with the same name as a legitimate module in the current directory, an attacker can intercept and shadow the intended import. The CVE references GHSA-jr5x-hgm4-rrm6, indicating this was disclosed through GitHub's security advisory system.
Know when Pymanager 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
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Primary rating from Vendor (python) · only source for this CVE.
CVSS VectorVendor: python
Lifecycle Timeline
2DescriptionCVE.org
pymanager included the current working directory in sys.path meaning modules could be shadowed by modules in the current working directory. This could lead to modules getting shadowed
Articles & Coverage 1
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-17911
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB