CVE-2026-39406CWE-22

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

Medium · published April 8, 2026

CVSS v3.1
5.3
EPSS
0%
Percentile
33.1
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
5.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00400 · 33.1th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-04-08T14:34Z
EPSS history
Timeline
  • 08 APR 14:34Z
    @hono/node-server has a middleware bypass via repeated slashes in serveStatic
    cvelistv5