Double Decoding of the Same Data in hono - #VU168005
Published: November 19, 2026
Vulnerability details
The vulnerability allows a remote attacker to read static files protected by path-specific middleware within the configured static root.
The vulnerability exists due to double decoding of the request path in Hono's serveStatic middleware when the allowPercentInPath option is enabled. A remote attacker can send a request that the router and static file handler resolve differently to access a protected file without triggering its middleware.