CVE-2026-73414: Vulnerability in shescape

Critical. 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...

npm, CWE-78, CWE-150

Exploitation
None confirmed
Severity
9.2 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-w4hw-qcx7-56pr
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
Weakness
CWE-78, CWE-150
Published
24 Jul 2026
Last change
24 Oct 2026
Ecosystem
npm

Affected packages

Vulnerable version ranges and fixed releases

  • shescape npm, Affected before 2.1.14. Fixed in 2.1.14

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes