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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-39406— @hono/node-server has a middleware bypass via repeated slashes in serveStatic

Quick assessment

Affected
honojs node-server
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.

Node.js Adapter for Hono是Hono开源的一个用于在Node.js上运行Hono应用的适配器。 Node.js Adapter for Hono 1.19.13之前版本存在路径遍历漏洞,该漏洞源于路径处理不一致,可能导致使用重复斜杠访问受保护的静态文件,从而绕过中间件。

CVSS 5.3 · Medium EPSS 0.40% · P32
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-39406

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/node-server has a middleware bypass via repeated slashes in serveStatic
Source: CVE Program / CVE List V5
Vulnerability Description
@hono/node-server allows running the Hono application on Node.js. Prior to 1.19.13, a path handling inconsistency in serveStatic allows protected static files to be accessed by using repeated slashes (//) in the request path. When route-based middleware (e.g., /admin/*) is used for authorization, the router may not match paths containing repeated slashes, while serveStatic resolves them as normalized paths. This can lead to a middleware bypass. This vulnerability is fixed in 1.19.13.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
Node.js Adapter for Hono 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Node.js Adapter for Hono是Hono开源的一个用于在Node.js上运行Hono应用的适配器。 Node.js Adapter for Hono 1.19.13之前版本存在路径遍历漏洞,该漏洞源于路径处理不一致,可能导致使用重复斜杠访问受保护的静态文件,从而绕过中间件。
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)

II. Public POCs for CVE-2026-39406

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

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

Same Patch Batch · honojs · 2026-04-08 · 5 CVEs total

CVE-2026-39407 5.3 MEDIUM Hono has a middleware bypass via repeated slashes in serveStatic
CVE-2026-39410 4.8 MEDIUM Hono has a non-breaking space prefix bypass in cookie name handling in getCookie()
CVE-2026-39408 Hono has a path traversal in toSSG() allows writing files outside the output directory
CVE-2026-39409 Hono has incorrect IP matching in ipRestriction() for IPv4-mapped IPv6 addresses

IV. Related Vulnerabilities

V. Comments for CVE-2026-39406

No comments yet


Leave a comment