7.1High
CVE-2026-113723virtualenv: Bash prompt values can change meaning under older compatibility modes
Description
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.
Weakness (CWE):
CWE-78
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| pypa | virtualenv | < 21.14.9 | |
| virtualenv | virtualenv | 20.0.0 – < 21.14.9 |
References and patches
- https://github.com/pypa/virtualenv/security/advisories/GHSA-6w3r-xr62-4xcp ExploitMitigationVendor Advisory
- https://github.com/pypa/virtualenv/pull/3418 Issue TrackingPatch
- https://github.com/pypa/virtualenv/commit/5f48d711731311428aebfae61d46957762155b22 Patch
- https://github.com/pypa/virtualenv/releases/tag/21.14.9 Release Notes
CPE matches (NVD) (1)
cpe:2.3:a:virtualenv:virtualenv:*:*:*:*:*:*:*:*≥ 20.0.0 < 21.14.9