CVE-2026-73414: critical vulnerability in ericcornelissen shescape
Shescape: Shell injection via unescaped parentheses on Windows with CMD
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
28Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 9.2epss 0.9%
Shescape is a simple shell escape library for JavaScript. Prior to 2.1.14 and 3.0.1, getEscapeFunction in src/internal/win/cmd.js does not escape `(` and `)` when applications use the escape or escapeAll APIs on Windows with shell set to cmd.exe, or with shell set to true when CMD is the default. An attacker-controlled argument can break out of a parenthesized CMD construct and inject shell syntax depending on the original command, resulting in arbitrary command execution. This issue is fixed in versions 2.1.14 and 3.0.1.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Affected products
ericcornelissen · shescapeRelated CVEs — ericcornelissen shescape
In the same product, most dangerous first.
CVE-2022-31180CRITICALInsufficient escaping of whitespace in shescapeEPSS 2.0%CVE-2022-36064MEDIUMShescape Inefficient Regular Expression Complexity vulnerabilityEPSS 1.5%CVE-2022-31179HIGHInsufficient escaping of line feeds for CMD in shescapeEPSS 1.4%CVE-2023-35931LOWShescape potential environment variable exposure on Windows with CMDEPSS 0.8%CVE-2023-40185MEDIUMShescape on Windows escaping may be bypassed in threaded contextEPSS 0.7%CVE-2026-73412MEDIUMShescape: Path disclosure on Unix with ZshEPSS 0.6%
References
https://github.com/ericcornelissen/shescape/commit/43d70b59d09bbe5c3fd02ef08b3a123e977ed9dehttps://github.com/ericcornelissen/shescape/commit/b4b34c394e7f9da2775bb75381066b9a228c425fhttps://github.com/ericcornelissen/shescape/pull/2649https://github.com/ericcornelissen/shescape/pull/2651https://github.com/ericcornelissen/shescape/releases/tag/v2.1.14https://github.com/ericcornelissen/shescape/releases/tag/v3.0.1https://github.com/ericcornelissen/shescape/security/advisories/GHSA-w4hw-qcx7-56pr