CVE-2026-42608: Vulnerability in Getgrav Grav

Critical. 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...

Packagist, CWE-22

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-hmcx-ch82-3fv2
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-22
Published
5 May 2026
Last change
26 Oct 2026
Ecosystem
Packagist

Affected products

Affected versions and the first fixed release

  • Getgrav Grav Before 2.0.0; Version 2.0.0. No fixed version recorded

Affected packages

Vulnerable version ranges and fixed releases

  • getgrav/grav Packagist, Affected before 2.0.0-beta.2. Fixed in 2.0.0-beta.2

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related