Vulnerability · Published Apr 28, 2026 · Assigned by VulDB
CVE-2026-7317Grav CMS Cache Value FileCache.php doGet deserialization
Medium 5.0
In plain English
A medium-severity unsafe deserialization in CMS from Grav. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 13% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A vulnerability was found in Grav CMS up to 1.7.49.5/2.0.0-beta.1. Affected by this vulnerability is the function FileCache::doGet of the file system/src/Grav/Framework/Cache/Adapter/FileCache.php of the component Cache Value Handler. The manipulation results in deserialization. The attack may be launched remotely. The attack requires a high level of complexity. The exploitation appears to be difficult. The exploit has been made public and could be used. Upgrading to version 2.0.0-beta.2 addresses this issue. The patch is identified as c66dfeb5f. The affected component should be upgraded.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | getgrav/grav | 2.0.0-beta.2 | GHSA-gwfr-jfjf-92vv |
Affected products (as reported)
Weakness: CWE-502, CWE-20 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
References
- VDB-359965 | Grav CMS Cache Value FileCache.php doGet deserialization vdb-entry, technical-description
- VDB-359965 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #798732 | Trilby Media Grav CMS >= 1.7.44, <= 1.7.49.5 Deserialization third-party-advisory
- https://github.com/devsamuelsantiago/grav-cms-filecache-object-injection exploit
- https://github.com/getgrav/grav/security/advisories/GHSA-gwfr-jfjf-92vv related
- https://github.com/getgrav/grav/commit/c66dfeb5f patch