
CVE catalog
CVE-2026-113776
python-virtualenv: CVE-2026-113776
- Severity
- High · CVSS 7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.27% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | python-virtualenv | sid | 21.5.1+ds-1 | vulnerable |
| Debian | python-virtualenv | forky | 21.5.1+ds-1 | vulnerable |
| Debian | python-virtualenv | trixie | 20.31.2+ds-1+deb13u1 | vulnerable |
| Debian | python-virtualenv | bookworm | 20.17.1+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 14.04 | 1.10.1-1 | vulnerable |
| Ubuntu | python-virtualenv | 14.04 | 1.11-1 | vulnerable |
| Ubuntu | python-virtualenv | 14.04 | 1.11-2 | vulnerable |
| Ubuntu | python-virtualenv | 14.04 | 1.11.4-1 | vulnerable |
| Ubuntu | python-virtualenv | 14.04 | 1.11.4-1ubuntu1 | vulnerable |
| Ubuntu | python-virtualenv | 16.04 | 1.11.6+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 16.04 | 14.0.5+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 16.04 | 14.0.5+ds-2 | vulnerable |
| Ubuntu | python-virtualenv | 16.04 | 14.0.5+ds-4 | vulnerable |
| Ubuntu | python-virtualenv | 16.04 | 15.0.0+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 16.04 | 15.0.0+ds-2 | vulnerable |
| Ubuntu | python-virtualenv | 16.04 | 15.0.1+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 16.04 | 15.0.1+ds-2 | vulnerable |
| Ubuntu | python-virtualenv | 16.04 | 15.0.1+ds-3 | vulnerable |
| Ubuntu | python-virtualenv | 16.04 | 15.0.1+ds-3ubuntu1 | vulnerable |
| Ubuntu | python-virtualenv | 16.04 | 15.0.1+ds-3ubuntu1.1 | vulnerable |
| Ubuntu | python-virtualenv | 18.04 | 15.1.0+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 18.04 | 15.1.0+ds-1.1 | vulnerable |
| Ubuntu | python-virtualenv | pro | 20.24.1+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | pro | 20.24.6+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | pro | 20.24.6+ds-2 | vulnerable |
| Ubuntu | python-virtualenv | pro | 20.25.0+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | pro | 20.25.0+ds-2 | vulnerable |
| Ubuntu | python-virtualenv | pro | 20.25.0+ds-2ubuntu0.1~esm1 | vulnerable |
| Ubuntu | python-virtualenv | 26.10 | 20.36.1+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 26.10 | 21.4.1+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 26.10 | 21.5.1+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 26.04 | 20.31.2+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 26.04 | 20.35.3+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 26.04 | 20.35.4+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 26.04 | 20.36.1+ds-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | python-virtualenv | source | sid | (unfixed) | not yet assigned | Not reported | [1151685] |
| Debian | python-virtualenv | source | forky | (unfixed) | not yet assigned | Not reported | [1151685] |
| Debian | python-virtualenv | source | trixie | (unfixed) | not yet assigned | Not reported | [1151685] |
| Debian | python-virtualenv | source | bookworm | (unfixed) | not yet assigned | Not reported | [1151685] |
Notes
[trixie] python-virtualenv: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-virtualenv]Affected
Source package: [python-virtualenv]
Details (2)
20.17.1+ds-1· all · bookwormAffected
dsa · python-virtualenv · debian · bookworm; dsa · python-virtualenv · debian · 12
20.17.1+ds-1· all · bookwormAffected
dsa · python-virtualenv · debian · bookworm; dsa · python-virtualenv · debian · 12
- [virtualenv]Affected
Source package: [python-virtualenv]
Details (2)
20.17.1+ds-1· all · bookwormAffected
dsa · python-virtualenv · debian · bookworm; dsa · python-virtualenv · debian · 12
20.17.1+ds-1· all · bookwormAffected
dsa · python-virtualenv · debian · bookworm; dsa · python-virtualenv · debian · 12
[Debian 13 (Trixie)]
- [python3-virtualenv]Affected
Source package: [python-virtualenv]
Details (2)
20.31.2+ds-1+deb13u1· all · trixieAffected
dsa · python-virtualenv · debian · 13
20.31.2+ds-1+deb13u1· all · trixieAffected
dsa · python-virtualenv · debian · 13
- [virtualenv]Affected
Source package: [python-virtualenv]
Details (2)
20.31.2+ds-1+deb13u1· all · trixieAffected
dsa · python-virtualenv · debian · 13
20.31.2+ds-1+deb13u1· all · trixieAffected
dsa · python-virtualenv · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-113776]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-113776]
- [https://security-tracker.debian.org/tracker/CVE-2026-113776]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-113776.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]