Hono v4.13.16
github / Framework / Hono / 2026/11/01 12:10 JST
要約
HonoFramework Hono v4.13.16 はセキュリティ修正を含むリリース。mount() および app.mount() が、動的プレフィックス (例: /api/:tenant/*) 配下にスコープされたミドルウェアをバイパスできるパスを転送してしまう問題を修正した。認証やテナント分離をマウント配下のミドルウェアに任せている構成では実質的な権限回避につながり得るため、利用者は速やかな更新が推奨される。
出典サイトで原文を開く → 出典サイトの説明: Security fixes This release includes fixes for the following security issues: mount() and app.mount() can forward a path that bypasses middleware scoped inside the mount prefix Affects: mount() in ...
Security fixes This release includes fixes for the following security issues: ### mount() and app.mount() can forward a path that bypasses middleware scoped inside the mount prefix Affects: mount() in hono/mount and app.mount(). A dynamic prefix such as /api/:tenant/* was removed by the length of the route pattern. The forwarded path was also re-normalized by the URL parser, so a decoded \ became / and .. collapsed. Both let a crafted request skip middleware scoped inside the mount prefix. Routes such as /assets* and duplicate parameter names now throw. GHSA-4m76-xfj5-79
出典: 公式ページ