{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-5271","id":"CVE-2026-5271","title":"Possible to hijack modules in current working directory","description":"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.","descriptionLong":"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.","published":"2026-04-01T13:48:07.534Z","updated":"2026-10-28T02:30:55.539157010Z","reserved":"2026-03-31T20:02:35.393Z","status":"Analyzed","rejected":false,"assigner":"PSF","metric":{"version":"4.0","score":5.6,"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","rating":"medium","source":"PSF"},"metrics":[{"version":"4.0","score":5.6,"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","rating":"medium","source":"PSF"},{"version":"4.0","score":5.6,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"python.org"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"}],"rating":"medium","products":["Python Software Foundation pymanager"],"affectedProducts":[{"vendor":"Python Software Foundation","product":"pymanager","defaultStatus":"unaffected","versions":[{"lessThan":"26.1","status":"affected","version":"26.0","versionType":"python"}],"platforms":[]}],"packages":[],"cwes":["CWE-427"],"aliases":["GHSA-jr5x-hgm4-rrm6"],"references":[{"url":"https://github.com/python/pymanager/security/advisories/GHSA-jr5x-hgm4-rrm6","tags":["vendor-advisory","exploit","Exploit","Vendor Advisory","advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2026/04/01/5","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5271.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5271","tags":["advisory"]},{"url":"https://github.com/python/pymanager","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00184,"epssPercentile":0.08035,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-5271","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5271","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-5271","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-5271","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}