CVE-2026-5271 | BDVDB-2026-324103 Detail
Python Software Foundationpymanager
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.
Impact#
Per CVSS v4.0: confidentiality impact none, integrity impact high, availability impact none. Attack vector: local.
Weaknesses#
- CWE-427 Uncontrolled Search Path Element
References#
Exploit#
No public exploit known
History#
- Version 1Record published in the CVE List.