# CVE-2026-113776: virtualenv activation scripts run code from a path that contains a placeholder name

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-20 · Modified: 2026-10-28
- Aliases: GHSA-8rjx-v5ww-45pp, CGA-529p-mx6f-jg5w, CGA-54x5-m343-95g4, CGA-6m6w-v7j5-fh29, CGA-8pw8-m534-37vq, CGA-g7vr-27rw-89qc, CGA-rph3-hfgv-rg5q, CGA-x4x6-wp2v-hf9r, CGA-xpjx-39gw-9vv8, CGA-hgm3-3h27-gcq3, CGA-m65j-6gx5-f343, DEBIAN-CVE-2026-113776, UBUNTU-CVE-2026-113776, BIT-virtualenv-2026-113776, PYSEC-2026-4387
- Record: https://cvemate.com/vulnerability/CVE-2026-113776 · JSON: https://cvemate.com/vulnerability/CVE-2026-113776/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.29%, percentile 23.166%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard nemo-gym (Chainguard): All versions (No fix recorded) \| \< 0.5.0\_rc0\_git20260729-r8
- chainguard nemo-rl-cuda-13.0 (Chainguard): All versions (No fix recorded) \| \< 0.7.0-r14
- chainguard nemo-rl-cuda-13.0-automodel (Chainguard): All versions (No fix recorded) \| \< 0.7.0-r14
- chainguard nemo-rl-cuda-13.0-mcore (Chainguard): All versions (No fix recorded) \| \< 0.7.0-r14
- chainguard nemo-rl-cuda-13.0-sglang (Chainguard): All versions (No fix recorded) \| \< 0.7.0-r14
- chainguard nemo-rl-cuda-13.0-vllm (Chainguard): All versions (No fix recorded) \| \< 0.7.0-r14
- chainguard openstack-rally-2025.2 (Chainguard): All versions (No fix recorded) \| \< 4.1.0-r4
- chainguard openstack-rally-2026.1 (Chainguard): All versions (No fix recorded) \| \< 4.1.0-r4
- debian python-virtualenv (Debian): All versions (No fix recorded) \| \< 21.15.6+ds-1
- ubuntu python-virtualenv (Ubuntu): All versions (No fix recorded)
- pypa virtualenv: ≥ 20.26.6, \< 21.14.2
- PyPI virtualenv (PyPI): ≥ 20.26.6, \< 21.14.2
- virtualenv virtualenv: ≥ 20.26.6, \< 21.14.2

## References

- <https://github.com/pypa/virtualenv/security/advisories/GHSA-8rjx-v5ww-45pp>
- <https://github.com/pypa/virtualenv/commit/602b26623a724827ff171bf11fef4ad186d01f74>
- <https://github.com/pypa/virtualenv/releases/tag/21.14.2>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-113776>
- <https://github.com/pypa/virtualenv>
- <https://security-tracker.debian.org/tracker/CVE-2026-113776>
- <https://ubuntu.com/security/CVE-2026-113776>
- <https://www.cve.org/CVERecord?id=CVE-2026-113776>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/113xxx/CVE-2026-113776.json>

---

Data as of 2026-12-05T03:35:46.412Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
