CVE-2026-7317 Grav CMS Cache Value FileCache.php doGet deserialization

Low 2.3 Published Updated

Remote attackers can exploit unsafe deserialization in Grav CMS cache handling to execute arbitrary code, requiring high complexity and permissions.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-7317?

CVE-2026-7317 is a low-severity unsafe deserialization vulnerability in Grav CMS, published on 28 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.

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.

Weakness: CWE-502, CWE-20

Which versions are affected by CVE-2026-7317?

2 open source packages ship an affected version, including getgrav/grav.

PackageAffectedFixed in
getgrav/grav PackagistAll versions2.0.0-beta.2
getgrav/grav PackagistAll versions2.0.0-beta.2

How do I fix CVE-2026-7317?

Upgrade getgrav/grav to 2.0.0-beta.2 or later.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2026-7317 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-7317 exists.

Sources

Also known as GHSA-gwfr-jfjf-92vv.

Is CVE-2026-7317 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free