CVE-2026-113725Virtualenv
High 7.8
Follow: this CVE · Virtualenv · Virtualenv We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- —
- Auth required
- Yes
- Published
- Oct 20, 2026
- Updated
- Nov 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Virtualenv.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | virtualenv |
< 21.14.7 |
21.14.7 |
pip install "virtualenv>=21.14.7" |
| PyPI | virtualenv |
< 21.14.7 |
21.14.7 |
pip install "virtualenv>=21.14.7" |
Per OSV / GitHub Advisories (GHSA-vxj4-q4g9-crj7, PYSEC-2026-4384). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| virtualenv | virtualenv | < 21.14.7 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Release Notes
- github.com Exploit Patch Vendor Advisory