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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-84365— Hono: Incomplete fix for CVE-2026-39408: `toSSG()` still writes files outside the output directory

Quick assessment

Affected
honojs hono
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.

Hono是Hono组织开源的一系列超小型Web应用框架。 Hono 4.12.12至4.13.5之前版本存在路径遍历漏洞,该漏洞源于toSSG()函数路径规范化不完整,未能完全折叠连续的父目录段,可能导致路径遍历,攻击者可利用不可信的ssgParams值在构建环境中创建或覆盖文件,从而篡改生成的产物或部署输出。

CVSS 6.5 · Medium EPSS 0.44% · P37

Affected Version Matrix 1

VendorProduct Version RangeStatus
honojs hono < 4.13.5 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-84365

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
Hono: Incomplete fix for CVE-2026-39408: `toSSG()` still writes files outside the output directory
Source: 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.
Source: 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
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
Hono 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Hono是Hono组织开源的一系列超小型Web应用框架。 Hono 4.12.12至4.13.5之前版本存在路径遍历漏洞,该漏洞源于toSSG()函数路径规范化不完整,未能完全折叠连续的父目录段,可能导致路径遍历,攻击者可利用不可信的ssgParams值在构建环境中创建或覆盖文件,从而篡改生成的产物或部署输出。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
honojs hono < 4.13.5 -

II. Public POCs for CVE-2026-84365

# 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-84365

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

Patches & Fixes for CVE-2026-84365 (1)

Vendor Advisories for CVE-2026-84365 (1)

Vendor Pages for CVE-2026-84365 (1)

Same Patch Batch · honojs · 2026-09-01 · 3 CVEs total

CVE-2026-84363 5.9 MEDIUM Hono: Query parser reads parameters after the URL fragment, causing cache-key and proxy in
CVE-2026-84364 5.3 MEDIUM Hono: Unbounded dot-notation nesting in `parseBody()` can cause memory exhaustion

IV. Related Vulnerabilities

V. Comments for CVE-2026-84365

No comments yet


Leave a comment