Skip to main content
← All vulnerabilities
CVE-2026-56700GHSA-VJ3M-2G9H-VM4P

Grav - Multiple Remote Code Execution Vulnerabilities via Unsafe Unserialize and Command Injection

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.0.0-beta.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • Grav Grav

    fixed in 2.0.0-beta.2

  • getgrav/gravPackagist

    fixed in 2.0.0-beta.2

References 2

GitHub · getgrav/grav

vulncheck.com