CVE-2026-39406

MEDIUM

@hono/node-server has a middleware bypass via repeated slashes in serveStatic

Title source: cna

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.

Scores

CVSS v3 5.3
EPSS 0.0002
EPSS Percentile 4.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Details

CWE
CWE-22
Status published
Products (3)
hono/node-server < 1.19.12
hono/node-server 0 - 1.19.13npm
honojs/node-server < 1.19.13
Published Apr 08, 2026
Tracked Since Apr 08, 2026