Authentication bypass using an alternate path or channel in hono - #VU168008
Published: November 19, 2026
Vulnerability details
The vulnerability allows a remote attacker to read information from mounted routes protected by path-scoped authentication or authorization middleware.
The vulnerability exists due to incorrect request path rewriting in mount() and app.mount() when a custom getPath prepends a prefix, causing the mounted application to receive a different path from the one checked by the outer application. A remote attacker can request an alternate URL to reach a protected route without triggering its middleware.