CVE-2026-113718

High 7.8 P4 · Monitor (22/100)
Other identifiers: GHSA-394H-QWMC-48PF

virtualenv: Xonsh activation literals depend on the script decoding codec

Published: 20.10.2026 · Last updated: 30.11.2026 08:19 UTC · Revision 1 · Sources: FIRST Exploit Prediction Scoring System (EPSS), GitHub Security Advisories, NIST National Vulnerability Database (NVD)

Confirmed facts from the sources

CVSS
7.8 (High) · CVSS 3.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Scored by nvd@nist.gov
Exploitation confirmed
Not in the CISA KEV catalog
Exploitation estimated (EPSS)
0.23 % · percentile 8.1 % (as of 29.11.2026)
Probability of exploitation in the next 30 days – an estimate by FIRST, not confirmation.
Public exploit
The sources reference a public exploit.
Fix
Fix available
Monitored technologies
No monitored technology

Description (source)

virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, POSIX xonsh activation quote() uses repr() to write printable non-ASCII prompt or destination data into UTF-8 activate.xsh, while xonsh can read that script using $XONSH_ENCODING. Under a legacy multibyte codec such as GBK or Big5, a UTF-8 trail byte can consume the backslash before an adjacent quote, allowing the literal to close and attacker-influenced statements to execute when the user sources the generated script. This issue is fixed in version 21.14.9.

Affected products and versions

Vendor / productAffected versionsFixed inSource
pypa virtualenv= < 21.14.9—nvd
virtualenv virtualenv>= 21.3.0, < 21.14.9—nvd
pip: virtualenv< 21.14.921.14.9github

Versions as published. “Fixed in” only where a source names the version explicitly.

Recommended mitigation

Fixed versions: virtualenv 21.14.9

Vendor patches and guidance

In general: check your versions, update to a fixed version, limit exposure until then and follow the vendor guidance.

AI interpretation

No AI interpretation yet – it is created for urgent advisories of monitored technologies. The facts above apply regardless.

Why this priority?: P4 · Monitor (22/100)

  • Estimated exploitation probability 0.23 % (EPSS, percentile 8.1 %) – an estimate, not confirmation (+0)
  • The sources reference a public exploit (+10)
  • Technical severity: CVSS 7.8 (HIGH) – on its own not a reason for top priority (+12)
  • Fix available – plan the update (+0)

Priority is a general assessment from CVSS, KEV, EPSS, exploits, relevance and fix availability. Whether a specific environment is affected depends on its versions, configuration and exposure.

Original advisories and links