VULNERABILITY INTELLIGENCE

CVE-2026-5271

CVSS score5.6 MEDIUM
EPSS probability0.18%
CISA KEVNot currently listed
Published2026-04-01
Last modified2026-10-26
CVSS vectorCVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

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.

Weakness classification

  • CWE-427: Uncontrolled Search Path Element

Primary references