Grav Cms · Grav Cms · CVE-2026-7317
**Name of the Vulnerable Software and Affected Versions**
Grav CMS versions 1.7.44 through 2.0.0-beta.1
**Description**
An insecure deserialization issue exists in the Cache Value Handler component. The `doGet()` function within the `system/src/Grav/Framework/Cache/Adapter/FileCache.php` file uses `unserialize()` with the `allowed classes` option set to true, which allows for unrestricted object instantiation. If an attacker can poison or tamper with cache files, they may be able to execute object magic methods remotely. Deserialization is the process of converting a stored data format back into an object in memory.
**Recommendations**
Update Grav CMS to version 2.0.0-beta.2.
As a temporary workaround, restrict write access to the cache directories to prevent unauthorized tampering with cache files.