CVE-2026-56700

CRITICAL

Grav - Multiple Remote Code Execution Vulnerabilities via Unsafe Unserialize and Command Injection

Title source: cna
STIX 2.1

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.

References (2)

Core 2
Core References
Vendor Advisory vendor-advisory
GitHub Security Advisory (GHSA-vj3m-2g9h-vm4p)
https://github.com/getgrav/grav/security/advisories/GHSA-vj3m-2g9h-vm4p
Third Party Advisory third-party-advisory
VulnCheck Advisory: Grav - Multiple Remote Code Execution Vulnerabilities via Unsafe Unserialize and Command Injection
https://www.vulncheck.com/advisories/grav-multiple-remote-code-execution-vulnerabilities-via-unsafe-unserialize-and-command-injection

Scores

CVSS v3 9.8
EPSS 0.0168
EPSS Percentile 74.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact total

Details

CWE
CWE-502 CWE-78
Status published
Products (2)
Grav/Grav < 2.0.0-beta.2
Grav/Grav 2.0.0-beta.2
Published Jun 30, 2026
Tracked Since Jul 01, 2026