Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-137198— cross-spawn: Argument injection on Windows via backslashes before a double quote

Quick assessment

Affected
moxystudio node-cross-spawn
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

译文: cross-spawn 是 Node.js 的 cross-platform spawn 与 spawnSync 解决方案。在 6.0.6 到 6.0.7、以及 7.0.4 到 7.1.0 之间,Windows 应用若把不可信参数传给经由 cmd.exe 路由的命令,可能存在漏洞:cross-spawn 没有正确处理“双引号前”或“参数结尾处”连续反斜杠的加倍转义。两个或更多反斜杠可能逃逸出参数的闭合引号,使攻击者控制的文本变成额外参数,或吞掉后续参数。调用方可能不会感知到这种注入:当目标接受这些生成的参数

CVSS 8.3 · High
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-137198

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
cross-spawn: Argument injection on Windows via backslashes before a double quote
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
参数注入或修改
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
moxystudio node-cross-spawn >= 6.0.6, < 6.0.7 -

II. Public POCs for CVE-2026-137198

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-137198

请登录查看更多情报信息。

Other References for CVE-2026-137198 (7)

Same Patch Batch · moxystudio · 2026-11-30 · 3 CVEs total

CVE-2026-137199 9.2 CRITICAL cross-spawn: Command injection on Windows when spawning batch files
CVE-2026-137197 8.1 HIGH cross-spawn: Command injection on Windows when the command is not a plain program name or

IV. Related Vulnerabilities