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

GravはファイルベースのWebプラットフォームです。2.0.0-beta.2以前のバージョンには、FormFlashコアコンポーネントにパストラバーサルの脆弱性があります。攻撃者がセッションID(POSTリクエストで__form-flash-idとして渡される)を操作することにより、認証されていない状態でファイルシステムを横断して任意のディレクトリを作成し、攻撃者が制御するデータを含むindex.yamlファイルを書き込むことが可能です。この脆弱性により、アプリケーションの動作が不正に変更され、データの整合性に問題が生じ、運用環境でサービスが停止する可能性があります。この脆弱性は2.0.0-beta.2で修正されました。

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

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

Publication Date May 11, 2026, midnight
Registration Date May 15, 2026, 11 a.m.
Last Update May 15, 2026, 11 a.m.
CVSS3.0 : 緊急
Score 9.1
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Affected System
Grav CMS
grav 2.0.0
grav 2.0.0 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2026年05月15日]
  掲載
May 15, 2026, 11 a.m.

NVD Vulnerability Information
CVE-2026-42608
Summary

Grav is a file-based Web platform. Prior to 2.0.0-beta.2, there is a Path Traversal vulnerability within the FormFlash core component. By manipulating the session_id (passed as __form-flash-id in POST requests), an unauthenticated attacker can traverse the filesystem to create arbitrary directories and write an index.yaml file containing attacker-controlled data. This vulnerability can lead to unauthorized modification of application behavior, potential data integrity issues, and service disruption in production environments. This vulnerability is fixed in 2.0.0-beta.2.

Publication Date May 12, 2026, 1:17 a.m.
Registration Date May 12, 2026, 4:14 a.m.
Last Update May 14, 2026, 3:39 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:* 2.0.0
cpe:2.3:a:getgrav:grav:2.0.0:beta1:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List