{"id":"CVE-2026-56700","revision":"94e980db69ac4155a8d3094400d9a7f4","records":[{"revision":"94e980db69ac4155a8d3094400d9a7f4","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-56700","aliases":[],"title":"Grav - Multiple Remote Code Execution Vulnerabilities via Unsafe Unserialize and Command Injection","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.","state":0,"publishedAt":"2026-06-30T22:08:40.943+00:00","modifiedAt":"2026-10-08T15:23:25.438+00:00","affected":[{"ecosystem":"Vendor product","name":"Grav","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Grav\",\n                    \"product\": \"Grav\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"2.0.0-beta.2\"\n                        },\n                        {\n                            \"version\": \"2.0.0-beta.2\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"packageURL\": \"pkg:composer/getgrav/grav\"\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":9.3,"severity":"CRITICAL"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":"CRITICAL"}],"references":["https://github.com/getgrav/grav/security/advisories/GHSA-vj3m-2g9h-vm4p","https://www.vulncheck.com/advisories/grav-multiple-remote-code-execution-vulnerabilities-via-unsafe-unserialize-and-command-injection"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-56700","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-56700","identifiers":["CVE-2026-56700"]},"retained":false,"historicalAffected":[]}],"coverage":[]}