Hono 4.13.23
Breaking: Hono 4.13.23 ships three security fixes. Released November 26, 2026, one day after 4.13.22. No new features. Upgrade if you run TrieRouter with arbitrary method names, use except() with a constrained parameter, or put Bun behind a path-based proxy.
Fix 1: TrieRouter and __proto__
TrieRouter treated __proto__ as a registered HTTP method. A single request carrying that method name added a property to Object.prototype, which could leave later requests in the same process failing until a restart.
Who is exposed: apps using TrieRouter and accepting arbitrary method names, for example HTTP/2 on Node.js or hono/method-override. The router no longer treats an inherited property as a registered method. Advisory: GHSA-656w-x92q-369m.
Fix 2: except() and Constrained Parameters
In hono/combine, an except() condition with an alternation inside a constrained parameter matched paths that only started or ended with one of the alternatives. The middleware was skipped for requests it should have protected.
The parameter regex is now grouped, and TrieRouter routes with the same kind of parameter are corrected by the same change. Advisory: GHSA-586x-c76g-h528.
Fix 3: getPath() and Missing Host Headers
When a request URL has no scheme and host, Bun hands over a path-only URL. Hono dropped the first path segment before routing, so a request could reach a route that a reverse proxy blocks by path. The path is now read correctly. This matters for Bun deployments that lean on proxy path rules as a security boundary. Advisory: GHSA-mhwf-w6q6-q58w.
Upgrade Path
The bump from 4.13.22 is a drop-in patch with no API changes, so the usual route works:
- npm, pnpm, yarn, or bun: bump
honoto 4.13.23 and redeploy. - Lockfile users: refresh the lock entry, since 4.13.22 and 4.13.23 are only a day apart and a stale lock is easy to miss.
- Then check the three exposure paths above against your routing setup. If you use none of them, the release is still worth taking for the prototype pollution fix alone, because an unauthenticated request can trigger it.
Full changelog: compare v4.13.22 to v4.13.23 on the Hono repository.