# CVE-2026-113725: virtualenv bash activate runs commands from an environment name with a backslash before $

- Severity: High 7.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-20T19:56:52.195Z
- Modified: 2026-11-27T06:45:51.514Z
- Also known as: GHSA-vxj4-q4g9-crj7, BIT-VIRTUALENV-2026-113725, PYSEC-2026-4384
- Weaknesses: CWE-78, CWE-116
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.7, the bash activate script escapes the environment name for only one of the two passes bash makes over PS1, so a backslash in the name undoes the escaping and a name containing \$(...) runs as commands in the user's shell each time bash draws the prompt. This issue is fixed in version 21.14.7.

(As written by CVE List.)

## Affected

- pypa virtualenv: < 21.14.7
- virtualenv (PyPI): before 21.14.7
- virtualenv virtualenv: before 21.14.7
- virtualenv (Bitnami): before 21.14.7

## Every score

- GitHub_M: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/pypa/virtualenv/security/advisories/GHSA-vxj4-q4g9-crj7> (exploit, advisory, fix, mitigation, patch, vendor-advisory, web)
- <https://github.com/pypa/virtualenv/commit/c3104e02474b652832a9bbaae79f6e1696296932> (fix, patch, web)
- <https://github.com/pypa/virtualenv/releases/tag/21.14.7> (advisory, article, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-113725> (advisory, web)
- <https://github.com/pypa/virtualenv> (package)

## Sources

- CVE List: [CVE-2026-113725](https://www.cve.org/CVERecord?id=CVE-2026-113725), CVE Terms of Use, modified 2026-10-21
- GitHub Advisory Database: [GHSA-vxj4-q4g9-crj7](https://github.com/advisories/GHSA-vxj4-q4g9-crj7), CC-BY-4.0, modified 2026-11-18
- NVD: [CVE-2026-113725](https://nvd.nist.gov/vuln/detail/CVE-2026-113725), Public domain, modified 2026-11-17
- PyPA Advisory Database: [PYSEC-2026-4384](https://osv.dev/vulnerability/PYSEC-2026-4384), CC-BY-4.0, modified 2026-11-18
- Bitnami Vulnerability Database: [BIT-VIRTUALENV-2026-113725](https://osv.dev/vulnerability/BIT-VIRTUALENV-2026-113725), Apache-2.0, modified 2026-11-27

---

Page: https://cve.day/CVE-2026-113725 · Whole record: https://cve.day/CVE-2026-113725.json · Rebuilt by cve.day 2026-11-27T07:07:40.956Z
