Vulnerabilities/

@hono/node-server: Middleware bypass via repeated slashes in serveStatic

Severity:
Medium

Description

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.

Recommendation

Update the @hono/node-server package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
@hono/node-server
Anything's wrong? Let us know Last updated on April 08, 2026