Skip to main content
← All vulnerabilities
CVE-2026-113718GHSA-394H-QWMC-48PF

virtualenv: Xonsh activation literals depend on the script decoding codec

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 21.14.9
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  4. Record last updated

Affected versions

  • pypa virtualenv

    fixed in 21.14.9

  • virtualenvPyPI

    fixed in 21.14.9

References 4

GitHub · pypa/virtualenv