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.
Severity (CVSS)
| Base score | 7.1 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-78 — CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| pypa | virtualenv | < 21.14.9 [affected] |
References
- https://github.com/pypa/virtualenv/security/advisories/GHSA-6w3r-xr62-4xcp (x_refsource_CONFIRM)
- https://github.com/pypa/virtualenv/pull/3418 (x_refsource_MISC)
- https://github.com/pypa/virtualenv/commit/5f48d711731311428aebfae61d46957762155b22 (x_refsource_MISC)
- https://github.com/pypa/virtualenv/releases/tag/21.14.9 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 21 Oct 2026 07:04 UTC.