high7.1
CVE-2026-113723
virtualenv: Bash prompt values can change meaning under older compatibility modes
Impact
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, caller-supplied prompt text can become executable syntax in the bash activation prompt. An attacker must influence the value passed to virtualenv, and a user must subsequently activate the environment and draw the prompt. This vulnerability is fixed in 21.14.9.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | virtualenv | < 21.14.9 | 21.14.9 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-6w3r-xr62-4xcp
- https://github.com/pypa/virtualenv/security/advisories/GHSA-6w3r-xr62-4xcp
- https://nvd.nist.gov/vuln/detail/CVE-2026-113723
- https://github.com/pypa/virtualenv/pull/3418
- https://github.com/pypa/virtualenv/commit/5f48d711731311428aebfae61d46957762155b22
- https://github.com/pypa/virtualenv/releases/tag/21.14.9