Skip to main content
VulnerabilityPublished

CVE-2026-137198: cross-spawn · Argument injection on Windows via backslashes before a double quote

Affects cross-spawnSource GCVE Database

0
Compare
Authoritative record:CVE-2026-137198· High 8.3

Not known to be exploited · CVSS 8.3 High : upgrade to 7.1.0 soon.

Data as of 4 Dec 2026, 02:14 UTC

CVSS 4.0 base score
8.3High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 4.08.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
npmcross-spawnAffected
  • >=7.0.4 <7.1.0
Fixed in
  • 7.1.0
npmcross-spawnAffected
  • >=6.0.6 <6.0.7
  • =6.0.6
Fixed in
  • 6.0.7

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

Community reviews

Loading reviews…