CVE-2026-5271
Last modified
CVE-2026-5271 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Python | Pymanager | 26.0 |
References
- https://github.com/python/pymanager/security/advisories/GHSA-jr5x-hgm4-rrm6Exploit, Vendor Advisory
- http://www.openwall.com/lists/oss-security/2026/04/01/5Mailing List, Third Party Advisory
- https://github.com/python/pymanager/security/advisories/GHSA-jr5x-hgm4-rrm6Exploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-5271?
How severe is CVE-2026-5271?
How do I fix CVE-2026-5271?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-52702Unauthenticated Cross Site Scripting (XSS) in SEO Redirectio…7.1
- CVE-2026-52703Unauthenticated Path Traversal in FastDup <= 2.7.2 versions.9.6
- CVE-2026-52704Improper Control of Generation of Code ('Code Injection') vu…10
- CVE-2026-52705Unauthenticated Arbitrary File Upload in SigmaForms Pro – AI…9
- CVE-2026-52706Unauthenticated PHP Object Injection in JetEngine <= 3.8.10 …9.8
- CVE-2026-52707Unauthenticated Local File Inclusion in Kastell <= 2.0 versi…8.1
- CVE-2026-52711Unauthenticated Broken Access Control in WooCommerce POS <= …7.5
- CVE-2026-52712Subscriber SQL Injection in Attendance Manager <= 0.6.2 vers…7.6
- CVE-2026-52714Unauthenticated Broken Access Control in SEO Plugin by Squir…5.9
- CVE-2026-52715Unauthenticated SQL Injection in GEO my WordPress <= 4.5.5 v…9.3
- CVE-2026-52716Unauthenticated Arbitrary File Deletion in WorkScout-Core <=…6.5
- CVE-2026-52718A denial of service vulnerability was found in GStreamer's A…6.5
Are you affected by CVE-2026-5271?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
