CVE-2026-56700
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.
Weakness
- CWE-78: Improper Neutralization of Special Elements used in an OS Command
- CWE-502: Deserialization of Untrusted Data
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2026-07-01 |
Timeline
- 2026-05-05GitHub advisory published (GHSA-vj3m-2g9h-vm4p)56 days before publication
- 2026-06-30Published by the CNA22:08 UTC
- 2026-07-01CISA SSVC decision recorded1 day after publication
Exploit and advisory records
GitHub advisory GHSA-vj3m-2g9h-vm4p, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Packagist getgrav/grav | before 2.0.0-beta.2 | 2.0.0-beta.2 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| grav grav | from 0 before 2.0.0-beta.2fixed in 2.0.0-beta.2 | 2.0.0-beta.2 |
| getgrav grav-plugin-admin | before 2.0.0fixed in 2.0.0 | 2.0.0 |
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
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-56700'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-56700'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-56700'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-56700'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).