CVE-2026-73414Shescape: Shell injection via unescaped parentheses on Windows with CMD
- 9.2CriticalCVSS base score
- 0.89%Exploitation in 30 daysEPSS · top 40% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
Published
- 2 days later
· 2 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 4.0 | Critical9.2 | 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 |
| NVDNVD · Deferred | 4.0 | Critical9.2 | 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 |
- EPSS (exploitation in 30 days)
- 0.89% · top 40% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.2.
Affected products
- affected < 2.1.14
- affected >= 3.0.0, < 3.0.1
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmshescapeGHSA-w4hw-qcx7-56pr (opens in a new tab)
References
References7
- https://github.com/ericcornelissen/shescape/security/advisories/GHSA-w4hw-qcx7-56pr (opens in a new tab)x_refsource_CONFIRM
- https://github.com/ericcornelissen/shescape/pull/2649 (opens in a new tab)x_refsource_MISC
- https://github.com/ericcornelissen/shescape/pull/2651 (opens in a new tab)x_refsource_MISC
- https://github.com/ericcornelissen/shescape/commit/43d70b59d09bbe5c3fd02ef08b3a123e977ed9de (opens in a new tab)x_refsource_MISC
- https://github.com/ericcornelissen/shescape/commit/b4b34c394e7f9da2775bb75381066b9a228c425f (opens in a new tab)x_refsource_MISC
- https://github.com/ericcornelissen/shescape/releases/tag/v2.1.14 (opens in a new tab)x_refsource_MISC
- https://github.com/ericcornelissen/shescape/releases/tag/v3.0.1 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-57531 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-w4hw-qcx7-56pr (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-73414)Record last updated .