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.
References
| Link | Resource |
|---|---|
| https://github.com/pypa/virtualenv/commit/e5fc2e6e189a877ff559af288919e3525d13e5e0 | Patch |
| https://github.com/pypa/virtualenv/pull/3432 | Issue Tracking Patch |
| https://github.com/pypa/virtualenv/releases/tag/21.14.9 | Release Notes |
| https://github.com/pypa/virtualenv/security/advisories/GHSA-394h-qwmc-48pf | Exploit Vendor Advisory |
| https://github.com/pypa/virtualenv/security/advisories/GHSA-394h-qwmc-48pf | Exploit Vendor Advisory |
Configurations
History
17 Nov 2026, 20:28
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/pypa/virtualenv/commit/e5fc2e6e189a877ff559af288919e3525d13e5e0 - Patch | |
| References | () https://github.com/pypa/virtualenv/pull/3432 - Issue Tracking, Patch | |
| References | () https://github.com/pypa/virtualenv/releases/tag/21.14.9 - Release Notes | |
| References | () https://github.com/pypa/virtualenv/security/advisories/GHSA-394h-qwmc-48pf - Exploit, Vendor Advisory | |
| First Time |
Virtualenv
Virtualenv virtualenv |
|
| CPE | cpe:2.3:a:virtualenv:virtualenv:*:*:*:*:*:*:*:* | |
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.8 |
27 Oct 2026, 14:16
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/pypa/virtualenv/security/advisories/GHSA-394h-qwmc-48pf - |
20 Oct 2026, 20:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-10-20 20:17
Updated : 2026-11-17 20:28
NVD link : CVE-2026-113718
Mitre link : CVE-2026-113718
CVE.ORG link : CVE-2026-113718
JSON object : View
Products Affected
virtualenv
- virtualenv
CWE
CWE-94
Improper Control of Generation of Code ('Code Injection')
