CVE-2026-56700
published critical CVSS 4.0 · 9.3Grav - Multiple Remote Code Execution Vulnerabilities via Unsafe Unserialize and Command Injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Grav | — | Grav0 to < 2.0.0-beta.2 (affected · semver) · 2.0.0-beta.2 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 9.8 | critical | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Grav | Grav | 0 to < 2.0.0-beta.2 (affected · semver)2.0.0-beta.2 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
2- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
- CWE-502 Deserialization of Untrusted Data
References
2- GitHub Security Advisory (GHSA-vj3m-2g9h-vm4p) https://github.com/getgrav/grav/security/advisories/GHSA-vj3m-2g9h-vm4p
- VulnCheck Advisory: Grav - Multiple Remote Code Execution Vulnerabilities via Unsafe Unserialize and Command Injection https://www.vulncheck.com/advisories/grav-multiple-remote-code-execution-vulnerabilities-via-unsafe-unserialize-and-command-injection
Provider assertions
2VulnCheck · cna
Grav - Multiple Remote Code Execution Vulnerabilities via Unsafe Unserialize and Command Injection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f16ddca5f25ac1d623ce796d0586449c391d1071e572f08f8e7931a07781dcbb
- Ingested
- 09 Oct 2026, 16:30:28 UTC
- Source record
- Official CVE record