Vulnerability in Python Pymanager
CVE-2026-5271
pymanager included the current working directory in sys.path meaning modules could be shadowed by modules in the current working directory. As a result, if a user executes a pymanager-generated command (e.g., pip, pytest)
from an attacker-controlled directory, a malicious module in that
directory can be imported and executed instead of the intended package.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.002, 7.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Python Pymanager — versions 26.0
- Python Software Foundation Pymanager — versions 26.0
Weakness classification (CWE)
References
- github.com/python/pymanager/security/advisories/GHSA-jr5x-hgm4-rrm6 (Exploit, vendor-advisory, Vendor Advisory)
- www.openwall.com/lists/oss-security/2026/04/01/5 (Mailing List, Third Party Advisory)