CVE-2026-137199
Last modified
CVE-2026-137199 is a critical-severity vulnerability rated 9.2/10 on the CVSS scale. 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. EPSS estimates a 1.01% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| moxystudio | node-cross-spawn | < 6.0.7; >= 7.0.0, < 7.1.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-137199?
How severe is CVE-2026-137199?
How do I fix CVE-2026-137199?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-13719An authenticated user can list alert rules stored in folders…4.3
- CVE-2026-137190Vite+ is a unified toolchain and entry point for web develop…7
- CVE-2026-137191Vite+ is a unified toolchain and entry point for web develop…7.8
- CVE-2026-137196Glob matches files using patterns the shell uses. From 13.0.…6.3
- CVE-2026-137197cross-spawn is a cross-platform solution for Node.js spawn a…8.1
- CVE-2026-137198cross-spawn is a cross-platform solution for Node.js spawn a…8.3
- CVE-2026-1372The Tutor LMS Elementor Addons plugin for WordPress is vulne…4.3
- CVE-2026-13720An Editor can set file-provisioning metadata (the grafana.ap…5.4
- CVE-2026-137200Socket.IO enables bidirectional and low-latency communicatio…7.5
- CVE-2026-13721A user with edit access to one folder could modify, move or …6.5
- CVE-2026-13722WatchGuard Fireware OS contains a firmware validation bypass…7.2
- CVE-2026-13723A vulnerability in the `zipx.Unzip` extraction routine of De…6.5
Are you affected by CVE-2026-137199?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
