CVE-2026-113732

High

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductVirtualenv
PublishedOct 20, 2026
First seenOct 20, 2026

How to fix

Update
  • virtualenv21.14.2 or later

Affected products

ProductAffected versionsFixed in
virtualenvPyPIv < 21.14.221.14.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.