Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-137199
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.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.
Affected Packages
https://github.com/moxystudio/node-cross-spawn.git (GITHUB):
Affected version(s) >=v7.0.0 <v7.1.0
Fix Suggestion:
Update to version v7.1.0
https://github.com/moxystudio/node-cross-spawn.git (GITHUB):
Affected version(s) >=0.1.0 <v6.0.7 || >=3.0.0 <v6.0.7 || >=4.0.0 <v6.0.7 || >=5.0.0 <v6.0.7 || >=v6.0.0 <v6.0.7
Fix Suggestion:
Update to version v6.0.7
cross-spawn (NPM):
Affected version(s) >=0.1.0 <6.0.7 || >=5.0.0 <6.0.7 || >=3.0.0 <6.0.7 || >=6.0.0 <6.0.7 || >=4.0.0 <6.0.7
Fix Suggestion:
Update to version 6.0.7
cross-spawn (NPM):
Affected version(s) >=7.0.0 <7.1.0
Fix Suggestion:
Update to version 7.1.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
9.2
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
PRESENT
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