CVE-2026-137198
Published:November 30, 2026
Updated:December 01, 2026
cross-spawn is a cross-platform solution for Node.js spawn and spawnSync. From 6.0.6 until 6.0.7 and from 7.0.4 until 7.1.0, Windows applications that pass untrusted arguments to commands routed through cmd.exe can be vulnerable because cross-spawn did not correctly double runs of backslashes before a double quote or at the end of an argument. Two or more backslashes could escape the argument's closing quote, allowing attacker-controlled text to become extra arguments or consume following arguments. The caller may not detect the injection when the target accepts the resulting arguments and exits successfully, while a target that rejects an unexpected argument can fail instead. The affected command class includes npm cmd-shims in node_modules/.bin. This can change a target program's operation, although it does not by itself execute a second command and does not affect other platforms. This issue is fixed in versions 6.0.7 and 7.1.0.
Affected Packages
https://github.com/moxystudio/node-cross-spawn.git (GITHUB):
Affected version(s) =v6.0.6 <v6.0.7Fix Suggestion:
Update to version v6.0.7https://github.com/moxystudio/node-cross-spawn.git (GITHUB):
Affected version(s) >=v7.0.4 <v7.1.0Fix Suggestion:
Update to version v7.1.0cross-spawn (NPM):
Affected version(s) >=7.0.4 <7.1.0Fix Suggestion:
Update to version 7.1.0cross-spawn (NPM):
Affected version(s) =6.0.6 <6.0.7Fix Suggestion:
Update to version 6.0.7Related ResourcesĀ (9)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
LOW
Weakness Type (CWE)
Improper Neutralization of Argument Delimiters in a Command
EPSS
Base Score:
0.56