CVE-2026-113725
HIGH 7.8CVSS 3.1virtualenv bash activate runs commands from an environment name with a backslash before $
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.
- Published
- 20 Oct 2026
- Last modified
- 18 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-116CWE-78
- Also known as
- BIT-virtualenv-2026-113725GHSA-vxj4-q4g9-crj7PYSEC-2026-4384
- Sources
- NVDJSONOSV GHSA-vxj4-q4g9-crj7JSONOSV PYSEC-2026-4384JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | virtualenv | virtualenvcpe:2.3:a:virtualenv:virtualenv:*:*:*:*:*:*:*:* |
< 21.14.7 | 21.14.7 |
| OSV | PyPI | virtualenv | < 21.14.7 | 21.14.7 |
References
- https://github.com/pypa/virtualenv/commit/c3104e02474b652832a9bbaae79f6e1696296932 · Patch, WEB, FIX
- https://github.com/pypa/virtualenv/releases/tag/21.14.7 · Release Notes, WEB, ADVISORY
- https://github.com/pypa/virtualenv/security/advisories/GHSA-vxj4-q4g9-crj7 · Exploit, Patch, Vendor Advisory, Mitigation, WEB, FIX
- https://nvd.nist.gov/vuln/detail/CVE-2026-113725 · ADVISORY
- https://github.com/pypa/virtualenv · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 20 Oct 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 20 Oct 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 21 Oct 2026)