{"id":"CVE-2026-5271","published":"2026-04-01T13:48:07Z","modified":"2026-04-01T23:12:18Z","title":"Possible to hijack modules in current working directory","vendor":"Python Software Foundation","product":"pymanager","tier":"tail","description":{"text":"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)\n from an attacker-controlled directory, a malicious module in that \ndirectory can be imported and executed instead of the intended package.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.6,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00184,"percentile":0.08132,"provenance":"source"},"cwes":[{"id":"CWE-427","name":"Uncontrolled Search Path Element"}],"references":[{"url":"https://github.com/python/pymanager/security/advisories/GHSA-jr5x-hgm4-rrm6","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2026/04/01/5","tags":[]}],"priority":{"score":5.5,"factors":[{"name":"EPSS percentile","points":1.63},{"name":"CVSS severity","points":3.92}]},"vendorSlug":"python-software-foundation","affectedVersions":[{"vendor":"Python Software Foundation","product":"pymanager","versions":[">= 26.0, < 26.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-01T17:58:52.079116Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-17911","exploited":false,"provenance":"source"}}