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

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-84365— Hono SSG文件路径穿越漏洞

一分钟漏洞结论

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

Hono 是一个支持任意 JavaScript 运行时的 Web 应用框架。从 4.12.12 到 4.13.5,针对 CVE-2026-39408 发布的修复未能覆盖所有的路径穿越序列,当路由参数包含连续的上级目录段(parent-directory segments)时,toSSG() 仍然可以将文件写入配置的输出目录之外。静态站点生成过程会根据路由路径以及通过 ssgParams 提供的值构建每个输出路径,并使用构建该路径的同一规范化例程来验证结果是否保持在输出目录内。该规范化例程未能完全折叠连续的上级目录段

CVSS 6.5 · Medium
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
Hono: Incomplete fix for CVE-2026-39408: `toSSG()` still writes files outside the output directory
来源: CVE Program / CVE List V5
Vulnerability Description
Hono is a Web application framework that provides support for any JavaScript runtime. From 4.12.12 until 4.13.5, the fix released for CVE-2026-39408 does not cover every traversal sequence, and toSSG() can still write files outside the configured output directory when a route parameter contains consecutive parent-directory segments. Static site generation builds each output path from the route path and values supplied through ssgParams, then verifies that the result stays inside the output directory using the same normalization routine that built the path. That routine does not fully collapse runs of consecutive parent-directory segments, allowing a path that the check accepts to resolve outside the output directory, and the check also treats output directories that differ in how they are rooted as equivalent. This arises when an application generates a static site from route parameter values it does not fully control, such as slugs from a CMS, API, or user submission. An untrusted ssgParams value can create or overwrite files elsewhere in the build environment and alter generated artifacts or deployment output. The vulnerability affects build-time static site generation only; request-time routing and applications with entirely developer-controlled ssgParams values are not affected. This issue is fixed in version 4.13.5.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
honojs hono < 4.13.5 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

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

同批安全公告 · honojs · 2026-09-01 · 共 3 条

CVE-2026-84363 5.9 MEDIUM Hono 查询解析器错误读取 URL 片段后的参数
CVE-2026-84364 5.3 MEDIUM Hono parseBody 无界嵌套内存耗尽漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-84365

暂无评论


发表评论