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

HonoはあらゆるJavaScriptランタイムをサポートするWebアプリケーションフレームワークです。バージョン4.12.12以前には、toSSG()にパストラバーサルの問題があり、静的サイト生成中に設定された出力ディレクトリの外部にファイルを書き込むことが可能でした。ssgParamsを介して動的ルートパラメータを使用する場合、特別に細工された値によって生成されるファイルパスが意図した出力ディレクトリから逸脱することがあります。この脆弱性はバージョン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 7.5
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected System
hono
hono 4.0.0 から 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-39408
Summary

Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.12, a path traversal issue in toSSG() allows files to be written outside the configured output directory during static site generation. When using dynamic route parameters via ssgParams, specially crafted values can cause generated file paths to escape the intended output directory. 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:31 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:* 4.0.0 4.12.11
Related information, measures and tools
Common Vulnerabilities List