CVE-2026-113732

HIGH CVSS 3.1: 7.8 EPSS 0.26%
Updated Nov 17, 2026
Virtualenv
Parameter Value
CVSS 7.8 (HIGH)
Affected Versions before 21.14.2
Fixed In 21.14.2
Type CWE-116 (Improper Encoding or Escaping of Output), CWE-78 (OS Command Injection)
Vendor Virtualenv
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Virtualenv Virtualenv
cpe:2.3:a:virtualenv:virtualenv:*:*:*:*:*:*:*:*
— 21.14.2