Authentication bypass using an alternate path or channel in hono - CVE-2026-126357
Published: November 10, 2026 / Updated: November 13, 2026
Vulnerability details
The vulnerability allows a remote attacker to bypass authentication middleware and access protected information in a mounted application.
The vulnerability exists due to incorrect dynamic-prefix length calculation and re-normalization of decoded paths in Hono's mount() and app.mount() when forwarding requests to mounted applications. A remote attacker can request /api/a/xxxxx/admin/secret under a /api/:tenant/* mount or /app/public%5C..%5Cadmin/secret under an /app mount to reach /admin/secret without triggering the outer application's path-scoped authentication middleware.