CVE-2026-113732: Virtualenv
High severity, CVSS 7.8. EPSS: 0.2% probability of exploitation activity in the next 30 days.
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.2, FishActivator inherits ViaTemplateActivator.quote(), which uses POSIX shlex.quote() even though fish interprets backslashes and single quotes differently. An attacker-influenced environment path, --prompt, or VIRTUALENV_PROMPT value containing a backslash before a quote can therefore terminate the generated fish literal and execute command substitution when the user sources activate.fish. This issue is fixed in version 21.14.2.
What to do
The record states a fixed version for the versions it affects. If you run one, update to it.
- Virtualenv, before 21.14.2: fixed in 21.14.2
Affected products
- Virtualenv Virtualenv: before 21.14.2 (fixed in 21.14.2)
Affected packages
- virtualenv (PyPI)
Published 2026-10-20. Last modified 2026-11-17.