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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-137197— cross-spawn: Command injection on Windows when the command is not a plain program name or path

一分钟漏洞结论

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

Cross-spawn 是 Node.js 中 spawn 和 spawnSync 的跨平台解决方案。在 6.0.8 和 7.1.1 之前的版本中,运行在 Windows 上、通过参数传递不可信输入的应用,可能在通过 cmd.exe 发送的命令不是写成纯程序名或路径时受影响。包含引号、命令名分隔符、尾随空格或针对子进程的 PATHEXT 的命令,可能导致 cross-spawn 遗漏 cmd.exe 会解析的批处理文件;随后参数会被当作普通程序进行转义,使 cmd.exe 能将参数中的命令元字符解释为并执行任意命令

CVSS 8.1 · High
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
cross-spawn: Command injection on Windows when the command is not a plain program name or path
来源: CVE Program / CVE List V5
Vulnerability Description
cross-spawn is a cross-platform solution for Node.js spawn and spawnSync. Prior to 6.0.8 and 7.1.1, applications running on Windows that pass untrusted arguments can be vulnerable when a command sent through cmd.exe is not written as a plain program name or path. Commands containing quotes, command-name delimiters, trailing whitespace, or a child-specific PATHEXT could cause cross-spawn to miss that cmd.exe would resolve a batch file. The arguments were then escaped as though the target were a regular program, allowing command metacharacters in an argument to be interpreted by cmd.exe and execute arbitrary commands. Applications are affected only when they use one of these command forms and pass untrusted input as arguments. This issue is fixed in versions 6.0.8 and 7.1.1.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
来源: CVE Program / CVE List V5

受影响产品

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

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2026-137197 其他参考 (7)

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

CVE-2026-137199 9.2 CRITICAL cross-spawn: Command injection on Windows when spawning batch files
CVE-2026-137198 8.3 HIGH cross-spawn: Argument injection on Windows via backslashes before a double quote

IV. Related Vulnerabilities