CVE-2026-137199: Vulnerability in Moxystudio Node-cross-spawn
Critical. cross-spawn is a cross-platform solution for Node.js spawn and spawnSync. Prior to 6.0.7 and 7.1.0, Windows applications that pass untrusted arguments to commands routed through cmd.exe can be vulnerable because cross-spawn did not account for the second cmd.exe parse performed when a batch file outside node_modules/.bin forwards its arguments. A crafted argument could break out of its quotes and execute...
npm, CWE-78
- Exploitation
- None confirmed
- Severity
- 9.2 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-ghv9-86vm-4v8m
- Vector
- CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Weakness
- CWE-78
- Published
- 30 Nov 2026
- Last change
- 1 Dec 2026
- Ecosystem
- npm
Affected products
Affected versions and the first fixed release
- Moxystudio Node-cross-spawn From 7.0.0, before 7.1.0; Before 6.0.7; Versions < 6.0.7, >= 7.0.0, < 7.1.0. Fixed in 7.1.0, 6.0.7
Affected packages
Vulnerable version ranges and fixed releases
- cross-spawn npm, Affected from 7.0.0 before 7.1.0. Fixed in 7.1.0
Advisories
Vendor and security advisories
- github.com/moxystudio/node-cross-spawn/security/advisories/GHSA-ghv9-86vm-4v8m
- github.com/moxystudio/node-cross-spawn/issues/171
Patches and fixes
Updates, commits and release notes
- github.com/moxystudio/node-cross-spawn/pull/191
- github.com/moxystudio/node-cross-spawn/pull/192
- github.com/moxystudio/node-cross-spawn/commit/1b71aa519a2e4f97d1f3ee27f0e2fc24ba17cf1a
- github.com/moxystudio/node-cross-spawn/commit/244ffeaa8473de0080c93ebbf779bb953b94114b
Related
- Node-cross-spawn vulnerabilities Recent advisories, watch this product