Vulnerability · Published Apr 8, 2026 · Assigned by GitHub_M
CVE-2026-39406@hono/node-server has a middleware bypass via repeated slashes in serveStatic
Medium 5.3
In plain English
A medium-severity path traversal in node-server from honojs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @hono/node-server | 1.19.13 | GHSA-92pp-h63x-v22m |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| honojs | node-server | < 1.19.13 |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
References
- https://github.com/honojs/node-server/security/advisories/GHSA-92pp-h63x-v22m x_refsource_CONFIRM