Severity: HIGH · Priority: P2 — active exploitation of an unauthenticated file-write flaw in a flat-file CMS, escalate on hit
This rule detects attempted exploitation of CVE-2026-42608, a path traversal vulnerability in the FormFlash component of Grav, a flat-file CMS used in an estimated 36,000 internet-facing installations. An unauthenticated attacker can supply a path traversal sequence in a form submission parameter, causing Grav to create arbitrary directories and write an attacker-controlled YAML configuration file to any location writable by the web server process. That write capability can be chained into remote code execution by placing a malicious plugin or configuration file where Grav's loader will include it on the next request. The flaw was fixed in Grav 2.0.0-beta.2 but was not backported to the older Grav 1.7 branch, meaning a large installed base of 1.7.x sites remained exposed. Active exploitation was confirmed in September 2026 when ShinyHunters used this vulnerability to compromise the leak site of the Clop ransomware group, which had been running an unpatched Grav 1.7.43 installation.
A hit indicates an active traversal attempt against a Grav server on your network. Confirm whether the targeted server runs Grav and which branch: any Grav 1.7.x installation is vulnerable since the fix exists only in Grav 2.0.0-beta.2 and later. If the server runs a vulnerable version, assume the traversal may have succeeded and escalate to incident response — check for newly created directories and unexpected YAML files in the Grav installation under user/config/, and look for signs of code execution from the web server process. If an immediate upgrade to Grav 2.x cannot be performed, disabling FormFlash or restricting POST submissions to known-good form identifiers at the web application layer reduces exposure.