CVE-2026-113726
CVE-2026-113726 is a high-severity vulnerability in Virtualenv with a CVSS 3.x base score of 7.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-78.
Key facts
- Severity: High (CVSS 3.x base score 7.8)
- EPSS exploit prediction: 0% (33rd percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-78
- Affected product: Virtualenv
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2026-113726?
- 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.
- How severe is CVE-2026-113726?
- CVE-2026-113726 has a CVSS 3.x base score of 7.8, rated high severity. It is exploitable over local access with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2026-113726 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (33rd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-113726?
- CVE-2026-113726 affects Virtualenv. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-113726?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2026-113726 published?
- CVE-2026-113726 was published on 2026-10-20 and last updated on 2026-11-17.
References
- https://github.com/pypa/virtualenv/commit/5b915367da82bd024b2a0d28d2f98007034b4aa2
- https://github.com/pypa/virtualenv/releases/tag/21.14.4
- https://github.com/pypa/virtualenv/security/advisories/GHSA-5vjq-rrrf-7h2q
Affected products (1)
- cpe:2.3:a:virtualenv:virtualenv:*:*:*:*:*:*:*:*
More vulnerabilities in Virtualenv
- CVE-2026-113717 — High (CVSS 8.8): virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9,…
- CVE-2026-113715 — High (CVSS 8.4): virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, the stdlib venv creator reads…
- CVE-2026-102930 — High (CVSS 8.1): virtualenv is a tool for creating isolated virtual python environments. Prior to 21.7.12, download_wheel() accepts pip…
- CVE-2026-113776 — High (CVSS 7.8): virtualenv is a tool for creating isolated virtual python environments. From 20.26.6 until 21.14.2,…
- CVE-2026-113732 — High (CVSS 7.8): virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.2, FishActivator inherits…
- CVE-2026-113725 — High (CVSS 7.8): virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.7, the bash activate script…
All CVEs affecting Virtualenv →
Other CWE-78 (OS Command Injection) vulnerabilities
- CVE-2026-133323 — Critical (CVSS 10.0): A vulnerability in the Audio, Web, and Video Conferencing (AWV) component of Mitel MiCollab through 10.3 (10.3.0.18)…
- CVE-2026-61567 — Critical (CVSS 10.0): AVideo is a video-sharing Platform. Prior to 8.1.0, the live-streaming endpoint `view/videosListToLive.php` accepts an…
- CVE-2026-100382 — Critical (CVSS 10.0): Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Wikimedia…
- CVE-2026-77521 — Critical (CVSS 10.0): MaxKB is an open-source AI assistant for enterprise. Prior to version 2.10.5-lts, assistants with a tool, MCP tool,…
- CVE-2026-82004 — Critical (CVSS 10.0): Adobe Campaign Classic (ACC) is affected by an Improper Neutralization of Special Elements used in an OS Command ('OS…
- CVE-2026-76197 — Critical (CVSS 10.0): Adobe Campaign Classic (ACC) is affected by an Improper Neutralization of Special Elements used in an OS Command ('OS…