CVE-2026-137197: cross-spawn: Command injection on Windows when the command is not a plain program name or path
Vulnerability summary
CVE-2026-137197 is a high (CVSS 8.1) vulnerability in moxystudio node-cross-spawn. EPSS estimates a 0.82% chance of exploitation in the next 30 days, higher than 58.6% of scored vulnerabilities.
Severe, CVSS 8.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Timeline
- 30-11-2026PublishedVulnerability first disclosed.
- 01-12-2026Last modifiedVulnerability information updated.
Description
cross-spawn is a cross-platform solution for Node.js spawn and spawnSync. Prior to 6.0.8 and 7.1.1, applications running on Windows that pass untrusted arguments can be vulnerable when a command sent through cmd.exe is not written as a plain program name or path. Commands containing quotes, command-name delimiters, trailing whitespace, or a child-specific PATHEXT could cause cross-spawn to miss that cmd.exe would resolve a batch file. The arguments were then escaped as though the target were a regular program, allowing command metacharacters in an argument to be interpreted by cmd.exe and execute arbitrary commands. Applications are affected only when they use one of these command forms and pass untrusted input as arguments. This issue is fixed in versions 6.0.8 and 7.1.1.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.82%
Chance of exploitation in the next 30 days
Percentile
59%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Moxystudio1 product
- node-cross-spawn< 6.0.8 | ≥ 7.0.0, < 7.1.1
1 vendor · 1 product
References
7 links- github.com/moxystudio/node-cross-spawn/pull/196X Refsource MISC
- github.com/moxystudio/node-cross-spawn/pull/197X Refsource MISC
- github.com/moxystudio/node-cross-spawn/releases/tag/v6.0.8X Refsource MISC
- github.com/moxystudio/node-cross-spawn/releases/tag/v7.1.1X Refsource MISC