# CVE-2026-113732: virtualenv activate.fish runs commands from a path or prompt with a backslash before a quote

- 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-27
- Aliases: GHSA-c947-3pg5-gm8q, CGA-424m-jf6r-3338, CGA-5cq5-22w2-r498, CGA-7fxp-pgh4-r63q, CGA-j7g3-cpr4-48j5, CGA-mwf2-w6wg-53f6, CGA-qg6p-3v6j-87wh, CGA-wg6x-chf3-66jh, CGA-ww5j-68mx-86rv, CGA-5p6g-q3mp-g53f, CGA-v722-9mq3-qv55, DEBIAN-CVE-2026-113732, UBUNTU-CVE-2026-113732, BIT-virtualenv-2026-113732, PYSEC-2026-4386
- Record: https://cvemate.com/vulnerability/CVE-2026-113732 · JSON: https://cvemate.com/vulnerability/CVE-2026-113732/json

## Description

```text
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.2, FishActivator inherits ViaTemplateActivator.quote(), which uses POSIX shlex.quote() even though fish interprets backslashes and single quotes differently. An attacker-influenced environment path, --prompt, or VIRTUALENV_PROMPT value containing a backslash before a quote can therefore terminate the generated fish literal and execute command substitution when the user sources activate.fish. 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.26%, percentile 18.87%, 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: \< 21.14.2
- PyPI virtualenv (PyPI): \< 21.14.2
- virtualenv virtualenv: \< 21.14.2

## References

- <https://github.com/pypa/virtualenv/security/advisories/GHSA-c947-3pg5-gm8q>
- <https://github.com/pypa/virtualenv/commit/3bddeaf8d02c3ee7f576503efb082f8f494cfcab>
- <https://github.com/pypa/virtualenv/releases/tag/21.14.2>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-113732>
- <https://github.com/pypa/virtualenv>
- <https://security-tracker.debian.org/tracker/CVE-2026-113732>
- <https://ubuntu.com/security/CVE-2026-113732>
- <https://www.cve.org/CVERecord?id=CVE-2026-113732>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/113xxx/CVE-2026-113732.json>

---

Data as of 2026-12-05T03:35:34.332Z. 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
