CVE-2026-113718
High 7.8 P4 · Monitor (22/100)virtualenv: Xonsh activation literals depend on the script decoding codec
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 / product | Affected versions | Fixed in | Source |
|---|---|---|---|
| pypa virtualenv | = < 21.14.9 | — | nvd |
| virtualenv virtualenv | >= 21.3.0, < 21.14.9 | — | nvd |
| pip: virtualenv | < 21.14.9 | 21.14.9 | github |
Versions as published. “Fixed in” only where a source names the version explicitly.
Recommended mitigation
Fixed versions: virtualenv 21.14.9
- github.com (Patch)
- github.com (Patch)
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
- Advisory https://github.com/pypa/virtualenv/security/advisories/GHSA-394h-qwmc-48pf · security-advisories@github.com
- Advisory https://nvd.nist.gov/vuln/detail/CVE-2026-113718 · nvd
- Advisory https://github.com/advisories/GHSA-394h-qwmc-48pf · github
- Patch https://github.com/pypa/virtualenv/commit/e5fc2e6e189a877ff559af288919e3525d13e5e0 · security-advisories@github.com
- Patch https://github.com/pypa/virtualenv/pull/3432 · security-advisories@github.com
- Reference https://github.com/pypa/virtualenv/releases/tag/21.14.9 · security-advisories@github.com