CVE-2026-113732

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:virtualenv:virtualenv:*:*:*:*:*:*:*:*

History

17 Nov 2026, 15:16

Type Values Removed Values Added
References () https://github.com/pypa/virtualenv/commit/3bddeaf8d02c3ee7f576503efb082f8f494cfcab - () https://github.com/pypa/virtualenv/commit/3bddeaf8d02c3ee7f576503efb082f8f494cfcab - Patch
References () https://github.com/pypa/virtualenv/releases/tag/21.14.2 - () https://github.com/pypa/virtualenv/releases/tag/21.14.2 - Release Notes
References () https://github.com/pypa/virtualenv/security/advisories/GHSA-c947-3pg5-gm8q - () https://github.com/pypa/virtualenv/security/advisories/GHSA-c947-3pg5-gm8q - Patch, Vendor Advisory
CPE cpe:2.3:a:virtualenv:virtualenv:*:*:*:*:*:*:*:*
First Time Virtualenv
Virtualenv virtualenv

20 Oct 2026, 22:19

Type Values Removed Values Added
New CVE

Information

Published : 2026-10-20 22:19

Updated : 2026-11-17 15:16


NVD link : CVE-2026-113732

Mitre link : CVE-2026-113732

CVE.ORG link : CVE-2026-113732


JSON object : View

Products Affected

virtualenv

  • virtualenv
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

CWE-116

Improper Encoding or Escaping of Output