CVE-2026-113776
Last modified
CVE-2026-113776 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| pypa | virtualenv | >= 20.26.6, < 21.14.2 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-113776?
How severe is CVE-2026-113776?
How do I fix CVE-2026-113776?
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-11374In ManageEngine ADSelfService Plus, RecoveryManager Plus, M3…9
- CVE-2026-113740A flaw has been found in itsourcecode Online Cake Ordering S…6.3
- CVE-2026-113741A vulnerability has been found in itsourcecode Online Cake O…4.3
- CVE-2026-113743A weakness has been identified in Tenstorrent tt-metal up to…6.3
- CVE-2026-113744A security vulnerability has been detected in Tenda AC19 16.…10
- CVE-2026-11375IBM MQ could allow an authenticated attacker to cause a deni…8.8
- CVE-2026-113779The pfSense REST API package is an unofficial, open-source R…8.8
- CVE-2026-11378IBM MQ could allow an authenticated attacker to cause a deni…8.8
- CVE-2026-113786pypdf is a free and open-source pure-python PDF library. Pri…2.3
- CVE-2026-113787odf-kit allows users to generate, fill, read, and convert Op…6.1
- CVE-2026-113788Lagoon is an application delivery platform for Kubernetes. V…9.4
- CVE-2026-113789pypdf is a free and open-source pure-python PDF library. Pri…6
Are you affected by CVE-2026-113776?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
