CVE-2026-5271
published medium CVSS 4.0 · 5.6Possible to hijack modules in current working directory
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Python Software Foundation | — | pymanager26.0 to < 26.1 · Other versions: unaffected | Affected | Not stated | PSF |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.6 / 10
- Severity
- medium
- Provider
- PSF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Python Software Foundation | pymanager | 26.0 to < 26.1 (affected · python)Default: unaffected | PSF · cna |
Weaknesses
1- CWE-427 CWE-427 Uncontrolled Search Path Element
References
2Provider assertions
3PSF · cna
Possible to hijack modules in current working directory
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d0f43cf4bdb3fa2f8d0d35bd24ef145484d6ace9c86fdeddef93e6bef8f02a03
- Ingested
- 23 Sep 2026, 09:23:13 UTC
- Source record
- Official CVE record