Skip to content

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

MediumCVSS 5.3 EPSS 0.38%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
hono @hono/node-server <= 1.19.12 after 1.19.12 Fixed
hono @hono/node-server(npm) < 1.19.13 1.19.13 Fixed
honojs node-server = < 1.19.13 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
honojs node-server = < 1.19.13 No fix listed
hono @hono/node-server(npm) < 1.19.13 1.19.13
hono @hono/node-server <= 1.19.12 No fix listed

References