CVE-2026-39406 MEDIUM

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

Vendor Honojs
Product node-server
Weakness CWE-22 · Path traversal
Published April 8, 2026
Last update April 8, 2026

CVSS base score

5.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality Low
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

What the vulnerability does

01Description

@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.

Key dates

02Disclosure timeline

April 8, 2026 CVE published
April 8, 2026 Record updated