CVE-2026-73414 json
Shescape: Shell injection via unescaped parentheses on Windows with CMD
published 3mo ago modified 18d ago also EUVD-2026-57531 , GHSA-w4hw-qcx7-56pr
- cvss
- 9.2
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 59%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm shescape 2.1.14, 3.0.1
- shescape_project shescape 2.1.14, 3.0.1
- github.com/ericcornelissen/shescape@43d70b5 commit
- github.com/ericcornelissen/shescape@b4b34c3 commit
- github.com/ericcornelissen/shescape#2649 pull request
- github.com/ericcornelissen/shescape#2651 pull request
- github.com/ericcornelissen/shescape/releases/tag/v2.1.14 release
- github.com/ericcornelissen/shescape/releases/tag/v3.0.1 release
Is CVE-2026-73414 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2mo ago
Exploit prediction
0.89% chance of exploitation in the next 30 days, higher than 59% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 9.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 |
| CNA | 4.0 | 9.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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | shescape | <2.1.14 >=3.0.0, <3.0.1 |
2.1.14 3.0.1 |
Affected products
- ericcornelissen shescape
Classification
References
-
github.com
/ericcornelissen/shescape/pull/2649
web
-
github.com
/ericcornelissen/shescape/pull/2651
web
-
github.com
/ericcornelissen/shescape/commit/43d70b59d09bbe5c3fd02ef08b3a123e977ed9de
web
-
github.com
/ericcornelissen/shescape/commit/b4b34c394e7f9da2775bb75381066b9a228c425f
web
-
github.com
/ericcornelissen/shescape/security/advisories/GHSA-w4hw-qcx7-56pr
web
-
github.com
/ericcornelissen/shescape/releases/tag/v2.1.14
web
-
github.com
/ericcornelissen/shescape/releases/tag/v3.0.1
web
-
github.com
/ericcornelissen/shescape
package
-
github.com
/ericcornelissen/shescape/blob/dea8893a5877893d8d4923dbf253080e08899e6d/docs/migration.md
web
Sources
- CVE List CVE-2026-73414
- GitHub Advisory GHSA-w4hw-qcx7-56pr
- NVD CVE-2026-73414
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.