Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-137197
Published:November 30, 2026
Updated:December 01, 2026
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.
Affected Packages
https://github.com/moxystudio/node-cross-spawn.git (GITHUB):
Affected version(s) >=v7.0.0 <v7.1.1
Fix Suggestion:
Update to version v7.1.1
https://github.com/moxystudio/node-cross-spawn.git (GITHUB):
Affected version(s) >=0.1.0 <v6.0.8 || >=3.0.0 <v6.0.8 || >=4.0.0 <v6.0.8 || >=5.0.0 <v6.0.8 || >=v6.0.0 <v6.0.8
Fix Suggestion:
Update to version v6.0.8
cross-spawn (NPM):
Affected version(s) >=0.1.0 <6.0.8 || >=3.0.0 <6.0.8 || >=5.0.0 <6.0.8 || >=6.0.0 <6.0.8 || >=4.0.0 <6.0.8
Fix Suggestion:
Update to version 6.0.8
cross-spawn (NPM):
Affected version(s) >=7.0.0 <7.1.1
Fix Suggestion:
Update to version 7.1.1
Do you need more information?
Contact Us
CVSS v4
Base Score:
9.2
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.1
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Neutralization of Special Elements used in an OS Command