CVE-2026-113776
CVE-2026-113776 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% (22nd 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. From 20.26.6 until 21.14.2, ViaTemplateActivator.instantiate_template() replaces placeholders one key at a time across the complete activation template, so trigger names such as __VIRTUAL_NAME__, __VIRTUAL_ENV__, or __VIRTUAL_PROMPT__ inside an already substituted and quoted environment path or prompt can be replaced during a later pass. The later value's quoting can close the earlier literal and execute the remaining path when a user activates the environment through bash, fish, xonsh, or activate_this.py. The distinct csh prompt-display token __VIRTUAL_PROMPT_DISPLAY_TCSH__ can instead break the generated script without establishing command execution. The attacker must influence the destination path or --prompt, and a value without a relevant placeholder name does not trigger this mechanism. This issue is fixed in version 21.14.2.
Frequently asked questions
- What is CVE-2026-113776?
- virtualenv is a tool for creating isolated virtual python environments. From 20.26.6 until 21.14.2, ViaTemplateActivator.instantiate_template() replaces placeholders one key at a time across the complete activation template, so trigger names such as __VIRTUAL_NAME__, __VIRTUAL_ENV__, or __VIRTUAL_PROMPT__ inside an already substituted and quoted environment path or prompt can be replaced during a later pass. The later value's quoting can close the earlier literal and execute the remaining path when a user activates the environment through bash, fish, xonsh, or activate_this.py. The distinct csh prompt-display token __VIRTUAL_PROMPT_DISPLAY_TCSH__ can instead break the generated script without establishing command execution. The attacker must influence the destination path or --prompt, and a value without a relevant placeholder name does not trigger this mechanism. This issue is fixed in version 21.14.2.
- How severe is CVE-2026-113776?
- CVE-2026-113776 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-113776 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (22nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-113776?
- CVE-2026-113776 affects Virtualenv. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-113776?
- 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-113776 published?
- CVE-2026-113776 was published on 2026-10-20 and last updated on 2026-11-17.
References
- https://github.com/pypa/virtualenv/commit/602b26623a724827ff171bf11fef4ad186d01f74
- https://github.com/pypa/virtualenv/releases/tag/21.14.2
- https://github.com/pypa/virtualenv/security/advisories/GHSA-8rjx-v5ww-45pp
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-113732 — High (CVSS 7.8): virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.2, FishActivator inherits…
- CVE-2026-113726 — High (CVSS 7.8): virtualenv is a tool for creating isolated virtual python environments. Prior to 21.13.0, the bash activate script that…
- 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…