CVE-2026-5271 Possible to hijack modules in current working directory
MediumCVSS 5.6
EPSS 0.18%
- Published
- Updated
- Exploit status
- No public exploit known
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)
from an attacker-controlled directory, a malicious module in that
directory can be imported and executed instead of the intended package.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Python Software Foundation pymanager | >= 26.0, < 26.1 | 26.1 |
| python pymanager | = 26.0 | No fix listed |
References
- github.com exploit vendor-advisory
- www.openwall.com mailing-list third-party-advisory