{"id":"CVE-2026-56700","published":"2026-06-30T22:08:40Z","modified":"2026-10-08T15:23:25Z","title":"Grav - Multiple Remote Code Execution Vulnerabilities via Unsafe Unserialize and Command Injection","vendor":"Grav","product":"Grav","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02528,"percentile":0.85281,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-vj3m-2g9h-vm4p","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/grav-multiple-remote-code-execution-vulnerabilities-via-unsafe-unserialize-and-command-injection","tags":["third-party-advisory"]}],"priority":{"score":23.9,"factors":[{"name":"EPSS percentile","points":17.06},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"grav","affectedVersions":[{"vendor":"Grav","product":"Grav","versions":["< 2.0.0-beta.2"]}],"fixedVersions":[{"vendor":"Grav","product":"Grav","versions":["2.0.0-beta.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-07-01T14:39:52.805678Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-40452","exploited":false,"provenance":"source"}}