目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-137199— cross-spawn: Command injection on Windows when spawning batch files

一分钟漏洞结论

影响对象
moxystudio node-cross-spawn
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

翻译: cross-spawn 是 Node.js 的 spawn 和 spawnSync 的跨平台解决方案。在 6.0.7 和 7.1.0 之前,在 Windows 上,如果应用程序将不可信参数传递给经过 cmd.exe 路由的命令,则可能存在漏洞:因为 cross-spawn 没有考虑到当一个位于 node_modules/.bin 之外的批处理文件转发其参数时,cmd.exe 可能进行第二次解析。精心构造的参数可能会逃出引号,并通过 npm.cmd、全局安装的包 shim 或用户批处理文件执行任意命令。尾部的

CVSS 9.2 · Critical
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-137199 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
cross-spawn: Command injection on Windows when spawning batch files
来源: CVE Program / CVE List V5
Vulnerability 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.
来源: CVE Program / CVE List V5
CVSS Information
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
来源: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
moxystudio node-cross-spawn < 6.0.7 -

二、漏洞 CVE-2026-137199 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-137199 的情报信息

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

CVE-2026-137199 其他参考 (8)

同批安全公告 · moxystudio · 2026-11-30 · 共 3 条

CVE-2026-137198 8.3 HIGH cross-spawn: Argument injection on Windows via backslashes before a double quote
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