Skip to main content
CVE-2026-113732VulnerabilityPublished Updated

Virtualenv: Prior to 21.14.2, FishActivator inherits ViaTemplateActivator.quote(), which uses POSIX shlex.quote() even

Affects virtualenvSource GCVE Database

0
Compare
Authoritative record:CVE-2026-113732· High 7.8

Not known to be exploited · CVSS 7.8 High : upgrade to 21.14.2 soon.

Data as of 18 Nov 2026, 13:06 UTC

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.17.8
Patch
Available – fixed in 21.14.2
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 17 Nov 2026.

What to do

Upgrade virtualenv to 21.14.2.

Affected software

ProductAffectedFixed in
PyPIvirtualenvpkg:pypi/virtualenvOther threatsAffected
  • <21.14.2
Fixed in
  • 21.14.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade virtualenv to version 21.14.2 or later, where this vulnerability is fixed. The vendor has provided an official patch and advisory. No other mitigation is required once the update is applied.

Description

Virtualenv versions prior to 21.14.2 contain a vulnerability in the FishActivator component where the quoting mechanism uses POSIX shlex.quote() instead of a fish shell-compatible method. This allows an attacker to craft environment variables such as the environment path, --prompt, or VIRTUALENV_PROMPT containing a backslash before a quote to terminate the fish literal and execute command substitution when the user sources activate.fish. This vulnerability is fixed in version 21.14.2.

References

Community reviews

Loading reviews…