Live threats

All CVEs / Virtualenv

CVE-2026-113718Virtualenv

High 7.1

Priority
43
CVSS 4.0
7.1
EPSS
—
Auth required
Yes
Published
Oct 20, 2026
Updated
Nov 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Virtualenv.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI virtualenv < 21.14.9 21.14.9 pip install "virtualenv>=21.14.9"
PyPI virtualenv ≥ 21.3.0 < 21.14.9 21.14.9 pip install "virtualenv>=21.14.9"

Per OSV / GitHub Advisories (GHSA-394h-qwmc-48pf, PYSEC-2026-4377). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
virtualenvvirtualenv≥ 21.3.0 < 21.14.9

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.