Deserialization of Untrusted Data in Grav CMS - CVE-2026-7317
Published: May 5, 2026
Grav CMS
Detailed vulnerability description
The vulnerability allows a local user to execute arbitrary code.
The vulnerability exists due to deserialization of untrusted data in FileCache::doGet() in system/src/Grav/Framework/Cache/Adapter/FileCache.php when processing tampered cache files. A local user can poison or modify a cache file with crafted serialized data to execute arbitrary code.
The vulnerable class is reachable by plugin and downstream consumers rather than Grav's main cache path.