CVE-2026-39406
CVE-2026-39406 · @hono/node-server has a middleware bypass via repeated slashes in serveStatic
This page contains facts from public vulnerability sources. Check the original advisory before updating.
@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.
CVSS 5.3 · Medium · EPSS 0.4% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
node-server
- Versions
- < 1.19.13: Affected
No fix published
@hono/node-server npm
- Affected ranges
- SEMVER: < 1.19.13
Update to 1.19.13