{"id":"CVE-2026-73414","revision":"6c12fc0dafd6466ebbb57e4aed2d0930","records":[{"revision":"6c12fc0dafd6466ebbb57e4aed2d0930","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-73414","aliases":[],"title":"Shescape: Shell injection via unescaped parentheses on Windows with CMD","description":"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.","state":0,"publishedAt":"2026-08-12T19:42:55.52+00:00","modifiedAt":"2026-08-14T22:11:29.29+00:00","affected":[{"ecosystem":"Vendor product","name":"shescape","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"ericcornelissen\",\n                    \"product\": \"shescape\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 2.1.14\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 3.0.0, < 3.0.1\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 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","score":9.2,"severity":"CRITICAL"}],"references":["https://github.com/ericcornelissen/shescape/security/advisories/GHSA-w4hw-qcx7-56pr","https://github.com/ericcornelissen/shescape/pull/2649","https://github.com/ericcornelissen/shescape/pull/2651","https://github.com/ericcornelissen/shescape/commit/43d70b59d09bbe5c3fd02ef08b3a123e977ed9de","https://github.com/ericcornelissen/shescape/commit/b4b34c394e7f9da2775bb75381066b9a228c425f","https://github.com/ericcornelissen/shescape/releases/tag/v2.1.14","https://github.com/ericcornelissen/shescape/releases/tag/v3.0.1"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-73414","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-73414","identifiers":["CVE-2026-73414"]},"retained":false,"historicalAffected":[]}],"coverage":[]}