{"id":"CVE-2026-113718","revision":"24f6ca5f7f1345008c117fe1c7cc60e8","records":[{"revision":"24f6ca5f7f1345008c117fe1c7cc60e8","observedAt":"2026-10-27T15:09:21.953+00:00","statement":{"source":"cve-program","id":"CVE-2026-113718","aliases":[],"title":"virtualenv: Xonsh activation literals depend on the script decoding codec","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.","state":0,"publishedAt":"2026-10-20T19:39:52.633+00:00","modifiedAt":"2026-10-27T13:33:36.583+00:00","affected":[{"ecosystem":"Vendor product","name":"virtualenv","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"pypa\",\n                    \"product\": \"virtualenv\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 21.14.9\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","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","score":7.1,"severity":"HIGH"}],"references":["https://github.com/pypa/virtualenv/security/advisories/GHSA-394h-qwmc-48pf","https://github.com/pypa/virtualenv/pull/3432","https://github.com/pypa/virtualenv/commit/e5fc2e6e189a877ff559af288919e3525d13e5e0","https://github.com/pypa/virtualenv/releases/tag/21.14.9"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-113718","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-113718","identifiers":["CVE-2026-113718"]},"retained":false,"historicalAffected":[]}],"coverage":[]}