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

26 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) pymanager incluyó el directorio de trabajo actual en sys.path, lo que significaba que los módulos podían ser solapados por módulos en el directorio de trabajo actual. Como resultado, si un usuario ejecuta un comando generado por pymanager (por ejemplo, pip, pytest) desde un directorio controlado por un atacante, un módulo malicioso en ese directorio puede ser importado y ejecutado en lugar del paquete previsto.

07 Apr 2026, 19:43

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
First Time Python
Python pymanager
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

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:23

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-01 14:16

Updated : 2026-10-26 21:10


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