CVE 5.6 MEDIUM

Possible to hijack modules in current working directory_CVE-2026-5271

5.6 / 10
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

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.

Basic Information

ID CVE-2026-5271
Source PSF
Published Apr 1, 2026 at 13:48
Modified Apr 1, 2026 at 23:12

Affected Product

Vendor Python Software Foundation
Product pymanager
Version 26.0
Affected Versions Python Software Foundation pymanager 26.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.