CVE-2026-113726
Last modified
CVE-2026-113726 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. virtualenv is a tool for creating isolated virtual python environments. Prior to 21.13.0, the bash activate script that zsh also sources leaves the environment name unescaped; from 21.13.0 until 21.14.4, it escapes backslashes, dollar signs, and backticks only when BASH_VERSION is set, so zsh receives the raw value.
Description
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.13.0, the bash activate script that zsh also sources leaves the environment name unescaped; from 21.13.0 until 21.14.4, it escapes backslashes, dollar signs, and backticks only when BASH_VERSION is set, so zsh receives the raw value. The script assigns that value to PS1. In zsh with PROMPT_SUBST, an attacker-influenced environment directory, --prompt, or VIRTUALENV_PROMPT value containing command, parameter, or arithmetic expansion syntax can therefore execute commands in the user's shell each time the prompt is drawn. A percent sign is separately interpreted as a zsh prompt escape but does not by itself execute commands. Plain zsh with PROMPT_SUBST disabled and bash are not affected by this mechanism. This issue is fixed in version 21.14.4.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| pypa | virtualenv | < 21.14.4 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-113726?
How severe is CVE-2026-113726?
How do I fix CVE-2026-113726?
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-113720virtualenv is a tool for creating isolated virtual python en…4.4
- CVE-2026-113721virtualenv is a tool for creating isolated virtual python en…4.5
- CVE-2026-113722virtualenv is a tool for creating isolated virtual python en…7.8
- CVE-2026-113723virtualenv is a tool for creating isolated virtual python en…7.1
- CVE-2026-113724virtualenv is a tool for creating isolated virtual python en…4.5
- CVE-2026-113725virtualenv is a tool for creating isolated virtual python en…7.8
- CVE-2026-113727OpenChoreo is a developer platform for Kubernetes. From 1.0.…7.4
- CVE-2026-113728Bulwark Webmail is a self-hosted webmail client for Stalwart…7.5
- CVE-2026-113729Moov signedxml is a pure Go library for processing signed XM…7.5
- CVE-2026-11373Net::Statsite::Client versions through 1.1.0 for Perl allow …9.1
- CVE-2026-113730OGNL is an Object Graph Navigation Library for Java. Prior t…5.6
- CVE-2026-113731djust provides Phoenix LiveView-style reactive server-side r…3.3
Are you affected by CVE-2026-113726?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
