CVE-2026-5271

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:python:pymanager:26.0:*:*:*:*:*:*:*

History

07 Apr 2026, 19:43

Type Values Removed Values Added
CPE cpe:2.3:a:python:pymanager:26.0:*:*:*:*:*:*:*
References () https://github.com/python/pymanager/security/advisories/GHSA-jr5x-hgm4-rrm6 - () https://github.com/python/pymanager/security/advisories/GHSA-jr5x-hgm4-rrm6 - Exploit, Vendor Advisory
References () http://www.openwall.com/lists/oss-security/2026/04/01/5 - () http://www.openwall.com/lists/oss-security/2026/04/01/5 - Mailing List, Third Party Advisory
First Time Python
Python pymanager
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8

02 Apr 2026, 00:16

Type Values Removed Values Added
References
  • () http://www.openwall.com/lists/oss-security/2026/04/01/5 -

01 Apr 2026, 18:16

Type Values Removed Values Added
CWE CWE-427
References () https://github.com/python/pymanager/security/advisories/GHSA-jr5x-hgm4-rrm6 - () https://github.com/python/pymanager/security/advisories/GHSA-jr5x-hgm4-rrm6 -

01 Apr 2026, 16:23

Type Values Removed Values Added
Summary (en) pymanager included the current working directory in sys.path meaning modules could be shadowed by modules in the current working directory. This could lead to modules getting shadowed (en) 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.

01 Apr 2026, 14:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-01 14:16

Updated : 2026-04-07 19:43


NVD link : CVE-2026-5271

Mitre link : CVE-2026-5271

CVE.ORG link : CVE-2026-5271


JSON object : View

Products Affected

python

  • pymanager
CWE
CWE-427

Uncontrolled Search Path Element