Skip to content
7.8 High

CVE-2026-113732 virtualenv is a tool for creating isolated virtual python environments

Description

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.

Affected products and versions

Product Affected versions Fixed in
virtualenv 21.14 earliest → < 21.14.2 21.14.2

References

Timeline

  1. Published
  2. Last modified
The 22 CVEs of virtualenv →
Track this CVE