7.8

CVE-2026-113718: virtualenv: Xonsh activation literals depend on the script decoding codec

Analyzed
AliasesDEBIAN-CVE-2026-113718UBUNTU-CVE-2026-113718GHSA-394h-qwmc-48pf
Published 20-10-2026Last modified 27-10-2026

Vulnerability summary

CVE-2026-113718 is a high (CVSS 7.8) Improper Control of Generation of Code vulnerability in pypa virtualenv. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 15.3% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (NVD)
EPSS score
0.24%
0%100%
Low · -0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 20-10-2026
    PublishedVulnerability first disclosed.
  2. 27-10-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

8 scores · 6 sources · 2 versions

EPSS trend

Probability

0.24%

Chance of exploitation in the next 30 days

Percentile

15%

Versus all other CVEs

30-day change

Decrease -0.01 pp

From 0.24% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Virtualenv

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard5 products
  • nemo-gymAll versions (No fix recorded) | < 0.5.0_rc0_git20260729-r8
  • nemo-rl-cuda-13.0< 0.7.0-r15
  • nemo-rl-cuda-13.0-mcoreAll versions (No fix recorded) | < 0.7.0-r15
  • nemo-rl-cuda-13.0-sglangAll versions (No fix recorded) | < 0.7.0-r15
  • nemo-skillsAll versions (No fix recorded) | < 0.7.0_git20260911-r6
Debian1 product
  • python-virtualenvAll versions (No fix recorded) | < 21.15.6+ds-1
Pypa1 product
PyPI1 product
  • virtualenv< 21.14.9 | ≥ 21.3.0, < 21.14.9
Ubuntu1 product
  • python-virtualenvAll versions (No fix recorded)
Virtualenv1 product

6 vendors · 10 products

References

10 links