CVE-2026-137198
Last modified
CVE-2026-137198 is a high-severity vulnerability rated 8.3/10 on the CVSS scale. 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.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| moxystudio | node-cross-spawn | >= 6.0.6, < 6.0.7; >= 7.0.4, < 7.1.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-137198?
How severe is CVE-2026-137198?
How do I fix CVE-2026-137198?
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-137189Jupyter MCP Server is a Model Context Protocol server for Ju…9.3
- 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-137199cross-spawn is a cross-platform solution for Node.js spawn a…9.2
- 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
Are you affected by CVE-2026-137198?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
