CVE-2026-137199cross-spawn OS Command Injection
cross-spawn: Command injection on Windows when spawning batch files
Published Nov 30, 2026 · Updated Dec 1, 2026 · Also known as EUVD-2026-139685, GHSA-ghv9-86vm-4v8m
Key Facts
Patch in the next maintenance window- CVE-2026-137199 is a critical-severity vulnerability (CVSS 9.2 v4) affecting cross-spawn (npm), node-cross-spawn.
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 1.1% probability of exploitation in the next 30 days.
- Fixed versions are available, including cross-spawn 6.0.7, cross-spawn 7.1.0, node-cross-spawn 6.0.7.
- Brandefense priority: patch in the next maintenance window, because of its high severity, although no exploitation is known.
Scores
CVSS v4
9.2
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS (30-day exploit likelihood)
1.1%
Higher than 66.4% of all scored CVEs
Exploit maturity
Proof of concept
ATLAS score
48/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
Description
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 Products
2 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| cross-spawnnpm | >= 7.0.0 | 7.1.0 |
| node-cross-spawn | >= 7.0.0, | 7.1.0 |
Patched Releases
cross-spawn
6.0.7, 7.1.0
node-cross-spawn
6.0.7, 7.1.0
Timeline
Publicly disclosed
Nov 30, 2026
Last updated
Dec 1, 2026
Weakness Type
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2026-137199
- advisoryGHSA advisory
- othergithub.com · node-cross-spawn
- otherhttps://github.com/moxystudio/node-cross-spawn/commit/1b71aa519a2e4f97d1f3ee27f0e2fc24ba17cf1a
FAQ
Common Questions.
cross-spawn is a cross-platform solution for Node.js spawn and spawnSync.
Affected: cross-spawn (npm) versions >= 7.0.0; node-cross-spawn versions >= 7.0.0,. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including cross-spawn 6.0.7, cross-spawn 7.1.0, node-cross-spawn 6.0.7.
Brandefense priority: patch in the next maintenance window, because of its high severity, although no exploitation is known.
Is CVE-2026-137199 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo