Description
@hono/node-server allows running the Hono application on Node.js. Prior to version 1.19.10, when using @hono/node-server's static file serving together with route-based middleware protections (e.g. protecting /admin/*), inconsistent URL decoding can allow protected static resources to be accessed without authorization. In particular, paths containing encoded slashes (%2F) may be evaluated differently by routing/middleware matching versus static file path resolution, enabling a bypass where middleware does not run but the static file is still served. This issue has been patched in version 1.19.10.
Problem types
CWE-863: Incorrect Authorization
Product status
References
github.com/...server/security/advisories/GHSA-wc8c-qw6v-h7f6
github.com/...ommit/455015be1697dd89974a68b70350ea7b2d126d2e