Deserialization of Untrusted Data in Grav CMS - CVE-2026-7317

 

Deserialization of Untrusted Data in Grav CMS - CVE-2026-7317

Published: May 5, 2026


Vulnerability identifier: #VU130084
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-7317
CWE-ID: CWE-502
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

Grav CMS

How to mitigate CVE-2026-7317

Install security update from vendor's website.

Grav CMS - update to 2.0.0 beta.2

External References

Related Security Bulletins