CVE-2026-5271
Awaiting Analysis
Awaiting Analysis - Queue
Module Shadowing Vulnerability in pymanager via sys.path Inclusion
Publication date: 2026-04-01
Last updated on: 2026-04-07
Assigner: Python Software Foundation
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| python | pymanager | 26.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-427 | The product uses a fixed or controlled search path to find resources, but one or more locations in that path can be under the control of unintended actors. |