{"id":"CVE-2026-73414","state":"PUBLISHED","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.","publishedAt":"2026-08-12T19:42:55.520Z","updatedAt":"2026-08-14T22:11:29.290Z","severity":{"score":9.2,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["ericcornelissen shescape"],"affected":[{"vendor":"ericcornelissen","product":"shescape","versions":[{"version":"< 2.1.14","status":"affected"},{"version":">= 3.0.0, < 3.0.1","status":"affected"}]}],"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"],"weaknesses":["CWE-78","CWE-150"],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/73xxx/CVE-2026-73414.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-73414","state":"PUBLISHED","datePublished":"2026-08-12T19:42:55.520Z","dateUpdated":"2026-08-14T22:11:29.290Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-12T14:32:11.795Z"},"containers":{"cna":{"title":"Shescape: Shell injection via unescaped parentheses on Windows with CMD","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"ericcornelissen","product":"shescape","versions":[{"version":"< 2.1.14","status":"affected"},{"version":">= 3.0.0, < 3.0.1","status":"affected"}]}],"references":[{"url":"https://github.com/ericcornelissen/shescape/security/advisories/GHSA-w4hw-qcx7-56pr","name":"https://github.com/ericcornelissen/shescape/security/advisories/GHSA-w4hw-qcx7-56pr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ericcornelissen/shescape/pull/2649","name":"https://github.com/ericcornelissen/shescape/pull/2649","tags":["x_refsource_MISC"]},{"url":"https://github.com/ericcornelissen/shescape/pull/2651","name":"https://github.com/ericcornelissen/shescape/pull/2651","tags":["x_refsource_MISC"]},{"url":"https://github.com/ericcornelissen/shescape/commit/43d70b59d09bbe5c3fd02ef08b3a123e977ed9de","name":"https://github.com/ericcornelissen/shescape/commit/43d70b59d09bbe5c3fd02ef08b3a123e977ed9de","tags":["x_refsource_MISC"]},{"url":"https://github.com/ericcornelissen/shescape/commit/b4b34c394e7f9da2775bb75381066b9a228c425f","name":"https://github.com/ericcornelissen/shescape/commit/b4b34c394e7f9da2775bb75381066b9a228c425f","tags":["x_refsource_MISC"]},{"url":"https://github.com/ericcornelissen/shescape/releases/tag/v2.1.14","name":"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","name":"https://github.com/ericcornelissen/shescape/releases/tag/v3.0.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":9.2,"baseSeverity":"CRITICAL","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-150","lang":"en","description":"CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-12T19:42:55.520Z"},"source":{"advisory":"GHSA-w4hw-qcx7-56pr","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-14T22:11:19.562894Z","id":"CVE-2026-73414","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-14T22:11:29.290Z"}}]}}}