CVE-2026-115586
Last modified
CVE-2026-115586 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. virtualenv is a tool for creating isolated virtual python environments. From 21.14.9 until 21.14.13, the bash bin/activate script can copy an attacker-controlled --prompt value into PS1 without escaping dollar signs or backticks when both promptvars and POSIX mode are disabled during activation. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
Description
virtualenv is a tool for creating isolated virtual python environments. From 21.14.9 until 21.14.13, the bash bin/activate script can copy an attacker-controlled --prompt value into PS1 without escaping dollar signs or backticks when both promptvars and POSIX mode are disabled during activation. Re-enabling promptvars, running set -o posix, or starting an interactive child bash that inherits the exported PS1 can then expand command substitution in the stored VIRTUAL_ENV_PROMPT value and execute commands as the user who activates the environment. This issue is fixed in version 21.14.13.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| pypa | virtualenv | >= 21.14.9, < 21.14.13 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-115586?
How severe is CVE-2026-115586?
How do I fix CVE-2026-115586?
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-11557A weakness has been identified in Tenda F451 1.0.0.7/1.0.0.9…8.8
- CVE-2026-115570Electron is a framework for writing cross-platform desktop a…7.4
- CVE-2026-115572pypdf is a free and open-source pure-python PDF library. Pri…7.1
- CVE-2026-11558A security vulnerability has been detected in CodeAstro Payr…6.3
- CVE-2026-115580pypdf is a free and open-source pure-python PDF library. Pri…7.1
- CVE-2026-115585pypdf is a free and open-source pure-python PDF library. Pri…7.1
- CVE-2026-11559A vulnerability was detected in CodeAstro Payroll System 1.0…6.3
- CVE-2026-115594Insertion of Sensitive Information Into Sent Data vulnerabil…6.5
- CVE-2026-115595Missing Authorization vulnerability in Supsystic Contact For…5.3
- CVE-2026-115597Missing Authorization vulnerability in ThimPress LearnPress …5.4
- CVE-2026-115598Missing Authorization vulnerability in ThimPress LearnPress …5.3
- CVE-2026-1156A vulnerability was determined in Totolink LR350 9.3.5u.6369…8.8
Are you affected by CVE-2026-115586?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
