CVE-2026-113718
7.1HighPublished Oct 20, 2026 · NVD status: Awaiting Analysis · AI triage by gemini-3.8-flash
High
0CVSS v4.010
- Attack vector
- Local
- Complexity
- High
- Privileges
- None
- User action
- Active
- Impact
- Full C/I/A compromise
- Weakness
- CWE-94
What an attacker gets
An attacker who can control directory names or prompts can execute arbitrary code in a victim's shell. This triggers when a user sources a poisoned activate.xsh file in xonsh using a legacy multibyte encoding.
Root cause
Improper escaping in POSIX xonsh activation script generation lets multibyte encodings consume quote-escaping backslashes, breaking out of quoted literals.
Affected versions
virtualenv prior to 21.14.9
CVSS v4.0 · 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
Fix & remediation
Upgrade virtualenv to version 21.14.9 or higher and regenerate existing virtual environment activation scripts.
$ pip install --upgrade 'virtualenv>=21.14.9'AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
References
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-927288.1HighAdjacent attackers can corrupt memory and potentially execute code during the boot process by sending malicious DNS responses. This requires the target to perform DNS resolution while using GRUB2.
- CVE-2026-648868.3HighAuthenticated users can read arbitrary local files and perform server-side request forgery. This allows attackers to steal credentials from environment variables or access internal network services.
- CVE-2026-648839.4CriticalAuthenticated attackers can achieve remote code execution and read sensitive files like signing keys. This is possible because the WebDAV interface fails to restrict file operations to the temporary directory.
- CVE-2026-1448137.5HighRemote attackers can crash the RTSP service, causing a denial of service. No authentication is required to trigger this flaw.
- CVE-2026-775269.9CriticalAuthenticated attackers can achieve remote code execution by uploading malicious files. They can escape the intended directory and overwrite system files because of improper path sanitization.
- CVE-2026-1444127.5HighUnauthenticated attackers can crash the GotaTun service by sending a single oversized UDP packet. This stops all inbound handshakes and data traffic for all peers.