CVE-2026-42608

published 11 May 2026 · updated 11 May 2026

Grav: Unauthenticated Path Traversal & Arbitrary File Write in FormFlash component.

9.8CriticalCVSS 8.8EPSS 2%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
getgrav<2.0.0-beta.2

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-42608 severity on Zeptric[![CVE-2026-42608](https://zeptric.io/badge/cve/CVE-2026-42608.svg)](https://zeptric.io/cve/CVE-2026-42608)