CVE-2026-56700CWE-502CWE-78command-injectioninsecure-deserialization

CVE-2026-56700

Critical · published July 1, 2026

CVSS v3.1
9.8
EPSS
3%
Percentile
84.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02528 · 84.8th percentile
Weaknesses
CWE-502 · Deserialization of Untrusted Data; CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2026-07-01T03:17Z
References (2)
EPSS history
Timeline
  • 30 JUN 22:08Z
    Grav - Multiple Remote Code Execution Vulnerabilities via Unsafe Unserialize and Command Injection
    cvelistv5