CVE-2026-5271Possible to hijack modules in current working directory
Updated under an hour ago ()
Does this affect you?
It affects Python Software Foundation pymanager and 1 other product. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 5.6 MEDIUM (v4.0, CNA)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
- Weakness (CWE)
- CWE-427
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- PSF
- NVD analysis
- Analyzed
- Record last updated
- Apr 1, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Python Software Foundation pymanager python_software_foundation:pymanager (from the name) | from 26.0 before 26.1 | CNA record |
python pymanager python:pymanager | 26.0 | NVD |
References
- https://github.com/python/pymanager/security/advisories/GHSA-jr5x-hgm4-rrm6vendor-advisory, exploit
- http://www.openwall.com/lists/oss-security/2026/04/01/5mailing-list, third-party-advisory
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.