製品・ソフトウェアに関する情報
honoにおけるパストラバーサルの脆弱性
Title honoにおけるパストラバーサルの脆弱性
Summary

Honoは任意のJavaScriptランタイムをサポートするWebアプリケーションフレームワークです。4.12.12より前のバージョンでは、serveStaticのパス処理の不一致により、リクエストパスに繰り返しスラッシュ(//)を使用することで保護された静的ファイルにアクセスできました。認可のためにルートベースのミドルウェア(例:/admin/*)が使用されている場合、ルーターは繰り返しスラッシュを含むパスと一致しないことがあり、一方でserveStaticはこれらを正規化されたパスとして解決します。これによりミドルウェアを回避できる可能性があります。この脆弱性は4.12.12で修正されました。

Possible impacts 当該ソフトウェアが扱う情報の一部が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date April 8, 2026, midnight
Registration Date April 23, 2026, 10:11 a.m.
Last Update April 23, 2026, 10:11 a.m.
CVSS3.0 : 警告
Score 5.3
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Affected System
hono
hono 4.12.11 およびそれ以前
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年04月23日]
  掲載
April 23, 2026, 10:11 a.m.

NVD Vulnerability Information
CVE-2026-39407
Summary

Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.12, a path handling inconsistency in serveStatic allows protected static files to be accessed by using repeated slashes (//) in the request path. When route-based middleware (e.g., /admin/*) is used for authorization, the router may not match paths containing repeated slashes, while serveStatic resolves them as normalized paths. This can lead to a middleware bypass. This vulnerability is fixed in 4.12.12.

Publication Date April 9, 2026, 12:16 a.m.
Registration Date April 15, 2026, 11:32 a.m.
Last Update April 22, 2026, 3:36 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:* 4.12.11
Related information, measures and tools
Common Vulnerabilities List