PT-2026-35830 · Grav Cms · Grav Cms
S4Nnty
·
Published
2026-04-28
·
Updated
2026-05-05
·
CVE-2026-7317
CVSS v3.1
5.0
Medium
| Vector | AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L |
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.
Exploit
Fix
RCE
Deserialization of Untrusted Data
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Grav Cms