{"id":"CVE-2026-73414","published":"2026-08-12T19:42:55Z","modified":"2026-08-14T22:11:29Z","title":"Shescape: Shell injection via unescaped parentheses on Windows with CMD","vendor":"ericcornelissen","product":"shescape","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.2,"severity":"CRITICAL","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00889,"percentile":0.57169,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-150","name":"Improper Neutralization of Escape, Meta, or Control Sequences"}],"references":[{"url":"https://github.com/ericcornelissen/shescape/security/advisories/GHSA-w4hw-qcx7-56pr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ericcornelissen/shescape/pull/2649","tags":["x_refsource_MISC"]},{"url":"https://github.com/ericcornelissen/shescape/pull/2651","tags":["x_refsource_MISC"]},{"url":"https://github.com/ericcornelissen/shescape/commit/43d70b59d09bbe5c3fd02ef08b3a123e977ed9de","tags":["x_refsource_MISC"]},{"url":"https://github.com/ericcornelissen/shescape/commit/b4b34c394e7f9da2775bb75381066b9a228c425f","tags":["x_refsource_MISC"]},{"url":"https://github.com/ericcornelissen/shescape/releases/tag/v2.1.14","tags":["x_refsource_MISC"]},{"url":"https://github.com/ericcornelissen/shescape/releases/tag/v3.0.1","tags":["x_refsource_MISC"]}],"priority":{"score":17.9,"factors":[{"name":"EPSS percentile","points":11.43},{"name":"CVSS severity","points":6.44}]},"vendorSlug":"ericcornelissen","affectedVersions":[{"vendor":"ericcornelissen","product":"shescape","versions":["< 2.1.14",">= 3.0.0, < 3.0.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-08-14T22:11:19.562894Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"shescape","vulnerableRanges":["<2.1.14",">=3.0.0, <3.0.1"],"patched":["2.1.14","3.0.1"],"from":["GHSA-w4hw-qcx7-56pr"],"provenance":"source"}],"summary":{"text":"Shescape, a JavaScript shell escape library, fails to escape the parentheses ( and ) in its Windows CMD escape routine (getEscapeFunction in src/internal/win/cmd.js) when applications use its escape or escapeAll APIs with cmd.exe as the shell, or with shell set to true where CMD is the default. An attacker who can supply a crafted argument (with no authentication needed, and no user interaction) can break out of a parenthesized CMD construct and inject shell syntax, achieving arbitrary command execution on the host.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:33:41Z"},"euvd":{"id":"EUVD-2026-57531","exploited":false,"provenance":"source"}}