# CVE-2026-56700: Grav - Multiple Remote Code Execution Vulnerabilities via Unsafe Unserialize and Command Injection

- Severity: Critical 9.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.68%, higher than 77% of CVEs (2026-12-01)
- Published: 2026-05-05T21:29:02.000Z
- Modified: 2026-10-08T16:17:22.387Z
- Also known as: GHSA-vj3m-2g9h-vm4p
- Weaknesses: CWE-78, CWE-502
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- Grav Grav: before 2.0.0-beta.2 (not affected: 2.0.0-beta.2)
- getgrav/grav (Packagist): before 2.0.0-beta.2

## Every score

- VulnCheck: CVSS:4.0 9.3 Critical `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`
- VulnCheck: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: rating Critical

## References

- <https://github.com/getgrav/grav/security/advisories/GHSA-vj3m-2g9h-vm4p> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/grav-multiple-remote-code-execution-vulnerabilities-via-unsafe-unserialize-and-command-injection> (third-party-advisory)
- <https://github.com/getgrav/grav/commit/5a12f9be8314682c8713e569e330f11805d0a663> (web)
- <https://github.com/getgrav/grav> (package)

## Sources

- CVE List: [CVE-2026-56700](https://www.cve.org/CVERecord?id=CVE-2026-56700), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-vj3m-2g9h-vm4p](https://github.com/advisories/GHSA-vj3m-2g9h-vm4p), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-56700](https://nvd.nist.gov/vuln/detail/CVE-2026-56700), Public domain, modified 2026-10-08

---

Page: https://cve.day/CVE-2026-56700 · Whole record: https://cve.day/CVE-2026-56700.json · Rebuilt by cve.day 2026-11-25T22:59:26.852Z
