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.
Metrics
Affected Vendors & Products
References
History
Thu, 02 Apr 2026 20:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Python
Python pymanager |
|
| Vendors & Products |
Python
Python pymanager |
Thu, 02 Apr 2026 00:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
Wed, 01 Apr 2026 23:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Possible to hijack modules in current working directory | |
| Weaknesses | CWE-427 | |
| References |
| |
| Metrics |
cvssV4_0
|
Status: PUBLISHED
Assigner: PSF
Published: 2026-04-01T13:48:07.534Z
Updated: 2026-04-01T23:12:18.741Z
Reserved: 2026-03-31T20:02:35.393Z
Link: CVE-2026-5271
Updated: 2026-04-01T23:12:18.741Z
Status : Awaiting Analysis
Published: 2026-04-01T14:16:59.343
Modified: 2026-04-02T00:16:24.297
Link: CVE-2026-5271
No data.
ReportizFlow