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

Published Jun 30, 2026
·
Updated

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.

Affected Software

1 affected component
Grav Grav CMS<2.0.0-beta.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Grav CMS to a version that resolves this vulnerability.

    Fixed in 2.0.0-beta.2
  2. Compensating control

    The command injection via InstallCommand's git clone operation requires admin access; restrict/admin harden access so only trusted administrators can perform plugin/theme installations.

Event History

Jun 30, 2026
CVE Published
via MITRE·10:08 PM
Data Sourced
via MITRE·10:08 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:17 PM
DescriptionSeverityWeakness
Jan 21, 58467
Event
via NVD·01:37 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-56700?

CVE-2026-56700 has a critical severity rating of 9.8.

2

How do I fix CVE-2026-56700?

To fix CVE-2026-56700, update Grav CMS to version 2.0.0-beta.2 or later.

3

What type of vulnerabilities does CVE-2026-56700 contain?

CVE-2026-56700 contains multiple remote code execution vulnerabilities including unsafe unserialize and command injection.

4

What are the consequences of exploiting CVE-2026-56700?

Exploitation of CVE-2026-56700 can lead to unauthorized remote code execution, compromising the affected Grav CMS instance.

5

Which components of Grav CMS are affected by CVE-2026-56700?

CVE-2026-56700 affects the Scheduler",

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203