# CVE-2026-113722: virtualenv: Generated POSIX console launchers interpret destination paths as shell syntax

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 21.14.9 (CNA); fix release not confirmed
- Status: published
- Published: 2026-10-20 · Modified: 2026-10-23
- Aliases: GHSA-c978-59m8-c77v, CGA-2w6x-qq8x-j48x, CGA-x7p2-39r7-g9x6, CGA-2qqj-xfh6-63vp, CGA-74rg-cxx8-246j, CGA-mfr4-vjp8-96r5, CGA-pxhv-3v3p-5334, CGA-r45f-34h2-m83r, CGA-fqc3-r7g8-5jgh, CGA-7c52-jh56-jvpp, CGA-jgm3-68cp-59jf, DEBIAN-CVE-2026-113722, CGA-fg4q-vhjc-cqx2, UBUNTU-CVE-2026-113722, CGA-9765-g36f-hvpv, CGA-vghh-5vf9-9r4w, CGA-x9g4-hcv3-pq5p, BIT-virtualenv-2026-113722, PYSEC-2026-4381
- Record: https://cvemate.com/vulnerability/CVE-2026-113722 · JSON: https://cvemate.com/vulnerability/CVE-2026-113722/json

## Description

```text
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, virtualenv's ScriptMakerCustom and pip pass an incompletely quoted interpreter path to distlib ScriptMaker when generating POSIX console scripts. When the path contains a space or produces a shebang longer than 127 bytes, distlib emits a /bin/sh wrapper whose double-quoted interpreter path still expands command substitutions and backticks. An attacker who influences the environment destination can therefore execute commands with the user's privileges when the user later runs a generated launcher; environment creation and activation do not trigger the command. Existing launchers are not repaired by upgrading virtualenv alone and must be regenerated, while a later independent pip installation or upgrade can reintroduce an affected launcher because pip's vendored distlib is unchanged. The virtualenv fix is released in version 21.14.9.
```

## 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.261%, percentile 19.091%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- chainguard nemo-rl-cuda-13.0 (Chainguard): All versions (No fix recorded) \| \< 0.7.0-r15
- chainguard nemo-rl-cuda-13.0-automodel (Chainguard): All versions (No fix recorded) \| \< 0.7.0-r15
- chainguard nemo-rl-cuda-13.0-mcore (Chainguard): All versions (No fix recorded) \| \< 0.7.0-r15
- chainguard nemo-rl-cuda-13.0-sglang (Chainguard): All versions (No fix recorded) \| \< 0.7.0-r15
- chainguard nemo-rl-cuda-13.0-vllm (Chainguard): All versions (No fix recorded) \| \< 0.7.0-r15
- chainguard nemo-skills (Chainguard): All versions (No fix recorded) \| \< 0.7.0\_git20260911-r6
- chainguard openstack-rally-2025.2 (Chainguard): All versions (No fix recorded) \| \< 4.1.0-r5
- chainguard openstack-rally-2026.1 (Chainguard): All versions (No fix recorded) \| \< 4.1.0-r5
- chainguard py3-cassandra-medusa (Chainguard): All versions (No fix recorded) \| \< 0.31.0-r1
- chainguard request-1276 (Chainguard): All versions (No fix recorded) \| \< 0.30.1-r6
- wolfi py3-cassandra-medusa (Wolfi): All versions (No fix recorded) \| \< 0.31.0-r1
- 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.9
- PyPI virtualenv (PyPI): \< 21.14.9 \| ≥ 20.0.0, \< 21.14.9
- virtualenv virtualenv: ≥ 20.0.0, \< 21.14.9

## References

- <https://github.com/pypa/virtualenv/security/advisories/GHSA-c978-59m8-c77v>
- <https://github.com/pypa/virtualenv/pull/3417>
- <https://github.com/pypa/virtualenv/commit/2519941bed33ee0d3ac99277f67913e439e476a9>
- <https://github.com/pypa/virtualenv/releases/tag/21.14.9>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-113722>
- <https://github.com/pypa/virtualenv>
- <https://security-tracker.debian.org/tracker/CVE-2026-113722>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/113xxx/CVE-2026-113722.json>
- <https://ubuntu.com/security/CVE-2026-113722>
- <https://www.cve.org/CVERecord?id=CVE-2026-113722>

---

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