CVEvulnerability

CVE-2026-5271

5.6 MEDIUM Published 2026-04-01 Modified 2026-10-26 Official page ↗
Status
Analyzed
Published
2026-04-01
Last modified
2026-10-26
Assigner
[email protected]
CVSS 4.0 ([email protected])
5.6 MEDIUM — 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS 3.1 ([email protected])
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weaknesses
CWE-427

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 configurations

• python pymanager 26.0

Related

Weakness · CWE (1)

  • CWE-427 Uncontrolled Search Path Element weakness

References