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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-112942— launch-editor Windows fs.existsSync 绕过漏洞

一分钟漏洞结论

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

允许用户从 Node.js 中通过编辑器打开带行号的文件。在 2.14.2 版本之前, 在处理由攻击者控制的 Windows 文件参数时存在缺陷:当该文件参数以“父目录组件 + 行号与列号后缀”结尾时,路径会在后缀仍存在的情况下被解析;随后 在执行 检查前会移除该后缀,导致 仅对已存在的父目录进行验证。这使得攻击者可以绕过文件名存在性检查,而无需实际创建恶意文件名。若结合此前单独描述的 Windows 百分号扩展漏洞,该绕过可导致操作系统命令注入。此问题已在 2.14.2 版本中修复。

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

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

漏洞信息

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

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

Vulnerability Title
launch-editor: `fs.existsSync()` existence check can be bypassed on Windows
来源: CVE Program / CVE List V5
Vulnerability Description
launch-editor allows users to open files with line numbers in editor from Node.js. Prior to 2.14.2, launch-editor-middleware processes an attacker-controlled Windows file argument where the file argument ends in a parent-directory component plus a line-and-column suffix: the path is resolved while the suffix is still present, and launch-editor removes the suffix before its existsSync check, leaving the existing parent directory for existsSync and allowing the attacker-controlled file argument to pass filename existence validation without requiring the malicious filename to exist. The bypass can lead to OS command injection when combined with the separately described Windows percent-expansion flaw. This issue is fixed in version 2.14.2.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
来源: CVE Program / CVE List V5
Vulnerability Type
在命令中使用的特殊元素转义处理不恰当(命令注入)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
vitejs launch-editor < 2.14.2 -
vitejs vite >= 8.3.0, < 8.3.3 -
vitejs vite-plus < 1.1.0 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2026-112942 其他参考 (3)

同批安全公告 · vitejs · 2026-10-20 · 共 6 条

CVE-2026-112944 6.3 MEDIUM launch-editor 任意命令执行漏洞
CVE-2026-112943 6.3 MEDIUM launch-editor Windows 命令注入漏洞
CVE-2026-112947 6.3 MEDIUM Vite 外部文件前 4 字节信息泄露漏洞
CVE-2026-112946 6.3 MEDIUM Vite 非 Windows 路径匹配时绕过 fs.allow 漏洞
CVE-2026-112945 2.1 LOW Vite 跨站脚本执行漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-112942

暂无评论


发表评论