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.
References
| Link | Resource |
|---|---|
| https://github.com/python/pymanager/security/advisories/GHSA-jr5x-hgm4-rrm6 | Exploit Vendor Advisory |
| http://www.openwall.com/lists/oss-security/2026/04/01/5 | Mailing List Third Party Advisory |
| https://github.com/python/pymanager/security/advisories/GHSA-jr5x-hgm4-rrm6 | Exploit Vendor Advisory |
Configurations
History
No history.
Information
Published : 2026-04-01 14:16
Updated : 2026-06-17 10:58
NVD link : CVE-2026-5271
Mitre link : CVE-2026-5271
CVE.ORG link : CVE-2026-5271
JSON object : View
Products Affected
python
- pymanager
CWE
CWE-427
Uncontrolled Search Path Element
