CVE-2026-113718

High

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.

SeverityHigh
CVSS7.1
Exploit probability—
ProductVirtualenv
PublishedOct 20, 2026
First seenOct 20, 2026

How to fix

Update
  • virtualenv21.14.9 or later

Affected products

ProductAffected versionsFixed in
virtualenvPyPIv < 21.14.921.14.9

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-113718 · Virtualenv · Dark Radar