CVE-2026-56700

Critical

Description

Grav CMS before 2.0.0-beta.2 contains multiple code-execution vulnerabilities. Three unsafe unserialize() calls - in Scheduler\JobQueue, Framework\Cache\Adapter\FileCache, and Session - deserialize untrusted data without restricting allowed classes, enabling PHP object injection and, via a gadget chain, arbitrary code execution where an attacker controls the serialized input. Additionally, InstallCommand's git clone operation passes the branch, url, and path parameters into a shell command without escaping, allowing OS command injection via plugin/theme installation (which requires admin access). A Twig security blocklist bypass (server-side template injection) is also present. The issues are fixed in 2.0.0-beta.2.

SeverityCritical
CVSS9.8
Exploit probability—
ProductGetgrav/grav
PublishedJun 30, 2026
First seenJun 30, 2026

How to fix

Update
  • getgrav/grav2.0.0-beta.2 or later

Affected products

ProductAffected versionsFixed in
getgrav/gravPackagistv < 2.0.0-beta.22.0.0-beta.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.