{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-73414","id":"CVE-2026-73414","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","descriptionLong":"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.","published":"2026-08-12T19:42:55.520Z","updated":"2026-10-28T02:30:54.568521781Z","reserved":"2026-08-12T14:32:11.795Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":9.2,"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","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"4.0","score":9.2,"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","rating":"critical","source":"GitHub_M"},{"version":"4.0","score":9.2,"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/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","rating":"critical","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"critical","source":"GitHub"}],"rating":"critical","products":["ericcornelissen shescape"],"affectedProducts":[{"vendor":"ericcornelissen","product":"shescape","defaultStatus":null,"versions":[{"version":"< 2.1.14","status":"affected"},{"version":">= 3.0.0, < 3.0.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"shescape","purl":"pkg:npm/shescape","ranges":["<2.1.14",">=3.0.0 <3.0.1"],"fixed":["2.1.14","3.0.1"],"advisory":"GHSA-w4hw-qcx7-56pr"}],"cwes":["CWE-78","CWE-150"],"aliases":["GHSA-w4hw-qcx7-56pr"],"references":[{"url":"https://github.com/ericcornelissen/shescape/security/advisories/GHSA-w4hw-qcx7-56pr","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/ericcornelissen/shescape/pull/2649","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/ericcornelissen/shescape/pull/2651","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/ericcornelissen/shescape/commit/43d70b59d09bbe5c3fd02ef08b3a123e977ed9de","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/ericcornelissen/shescape/commit/b4b34c394e7f9da2775bb75381066b9a228c425f","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/ericcornelissen/shescape/releases/tag/v2.1.14","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/ericcornelissen/shescape/releases/tag/v3.0.1","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73414.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73414","tags":["advisory"]},{"url":"https://github.com/ericcornelissen/shescape","tags":["package"]},{"url":"https://github.com/ericcornelissen/shescape/blob/dea8893a5877893d8d4923dbf253080e08899e6d/docs/migration.md","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total"},"epss":0.00889,"epssPercentile":0.60207,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-73414","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73414","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-73414","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-w4hw-qcx7-56pr","ok":true,"note":"GHSA-w4hw-qcx7-56pr"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-73414","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}