Path traversalin Getgrav Grav.
Weaponized: a Nuclei exploit is public.
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.
- Upgrade grav to 2.0.0-beta.2 or later.
- Upgrade getgrav/grav (Packagist) to 2.0.0-beta.2 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 29 Apr 2026CVE ID reserved by GitHub_M.
- 11 May 2026Published in the CVE List.
- 11 May 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: Weaponized (Nuclei). CISA assessment (SSVC): exploitation poc.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other Grav vulnerabilities
Same weakness: Path traversal
- github.com x_refsource_CONFIRM
Patchminder. CVE-2026-42608: Path traversal in Getgrav Grav. https://patchminder.com/cve/cve-2026-42608/ (accessed 5 December 2026).