CVE-2026-137199: cross-spawn: Command injection on Windows when spawning batch files
Vulnerability summary
CVE-2026-137199 is a critical (CVSS 9.2) vulnerability in moxystudio node-cross-spawn. EPSS estimates a 1.09% chance of exploitation in the next 30 days, higher than 66.5% of scored vulnerabilities.
Severe, CVSS 9.2 (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.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 arbitrary commands through npm.cmd, globally installed package shims, or user batch files. Trailing dots or spaces could bypass batch-file detection. A percent-delimited variable in an argument could be expanded when an environment variable with the same name followed by a caret existed, and an exclamation-delimited variable could be expanded when delayed expansion was enabled in the registry. Other platforms and the intentionally unescaped options.shell mode are not affected. This issue is fixed in versions 6.0.7 and 7.1.0.
CVSS metrics
5 scores · 5 sources · 1 version- NVDNIST9.2CriticalCVSS:4.0/AV:N/AC:H/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
- OSV · NpmEcosystem advisory · calculated9.2CriticalCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- OSV · WolfiEcosystem advisory · calculated9.2CriticalCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated9.2CriticalCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS trend
Probability
1.09%
Chance of exploitation in the next 30 days
Percentile
67%
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.
Chainguard98 products
- airflow-2All versions (No fix recorded)
- arangodb-3.11All versions (No fix recorded)
- arangodb-3.12< 3.12.14-r2
- argo-workflows-ui-3.7All versions (No fix recorded) | < 3.7.18-r18
- argo-workflows-ui-4.0All versions (No fix recorded) | < 4.0.16-r1
Wolfi12 products
- argo-workflows-ui-4.0All versions (No fix recorded) | < 4.0.16-r1
- code-serverAll versions (No fix recorded) | < 4.145.2-r3
- eslintAll versions (No fix recorded) | < 10.16.0-r1
- langfuse-3-workerAll versions (No fix recorded) | < 3.227.1-r4
- lernaAll versions (No fix recorded)
Moxystudio1 product
- node-cross-spawn< 6.0.7 | ≥ 7.0.0, < 7.1.0
Npm1 product
- cross-spawn≥ 7.0.0, < 7.1.0 | < 6.0.7
4 vendors · 112 products
References
11 links- github.com/moxystudio/node-cross-spawn/security/advisories/GHSA-ghv9-86vm-4v8mX Refsource CONFIRMWEBAdvisory
- github.com/moxystudio/node-cross-spawn/commit/1b71aa519a2e4f97d1f3ee27f0e2fc24ba17cf1aX Refsource MISCWEBFIX
- github.com/moxystudio/node-cross-spawn/commit/244ffeaa8473de0080c93ebbf779bb953b94114bX Refsource MISCWEBFIX