CVE-2026-137198: cross-spawn · Argument injection on Windows via backslashes before a double quote
Affects cross-spawnSource GCVE Database
Not known to be exploited · CVSS 8.3 High : upgrade to 7.1.0 soon.
Data as of 4 Dec 2026, 02:14 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 8.3 |
|---|
- Patch
- Available – fixed in 7.1.0, 6.0.7
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.
What to do
Upgrade cross-spawn to 7.1.0; cross-spawn to 6.0.7.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmcross-spawn | Affected
| Fixed in
|
| npmcross-spawn | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and should be applied by upgrading cross-spawn to version 7.1.0 or 6.0.7. Until patched, validate and sanitize untrusted input to allow only safe argument subsets to prevent injection. No other specific mitigations are indicated.
Description
The cross-spawn library on Windows has an argument injection vulnerability due to improper escaping of backslashes before double quotes in certain versions. This causes arguments to be split or swallowed unexpectedly when commands are run through cmd.exe. The issue affects versions 6.0.6 and 7.0.4 through 7.0.6 and is fixed in 6.0.7 and 7.1.0. The impact depends on the called program's argument handling and can lead to unintended argument injection but does not allow arbitrary command execution.
References
- github.com/moxystudio/node-cross-spawn/security/advisories/GHSA-m6qr-m48x-3xhh (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-137198 (opens in a new tab)
- github.com/moxystudio/node-cross-spawn/issues/188 (opens in a new tab)
- github.com/moxystudio/node-cross-spawn/pull/160 (opens in a new tab)
- github.com/moxystudio/node-cross-spawn/pull/162 (opens in a new tab)
- github.com/moxystudio/node-cross-spawn/pull/191 (opens in a new tab)
- github.com/moxystudio/node-cross-spawn/pull/192 (opens in a new tab)
- github.com/moxystudio/node-cross-spawn/commit/1b71aa519a2e4f97d1f3ee27f0e2fc24ba17cf1a (opens in a new tab)
- github.com/moxystudio/node-cross-spawn/commit/244ffeaa8473de0080c93ebbf779bb953b94114b (opens in a new tab)
- github.com/moxystudio/node-cross-spawn (opens in a new tab)
- github.com/moxystudio/node-cross-spawn/releases/tag/v6.0.7 (opens in a new tab)
- github.com/moxystudio/node-cross-spawn/releases/tag/v7.1.0 (opens in a new tab)