# CVE-2026-56700: Grav CMS multiple remote code execution vulnerabilities

Source: https://junglewise.ai/threats/cve-2026-56700-grav-cms-multiple-remote-code-execution-vulnerabilities  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-30. Updated: 2026-07-01  
License: CC BY 4.0 with a link back

CVE-2026-56700 · Severity: critical · CVSS 9.8 · Published 2026-06-30

Grav CMS, a popular content management system, contains multiple security flaws that could allow an attacker to take complete control of the server. These vulnerabilities stem from how the system handles internal data and administrative commands, potentially leading to unauthorized data access or full system compromise. Organizations using Grav should update to version 2.0.0-beta.2 or later to protect their operations and data.

Technologies: [Grav](https://junglewise.ai/threats/technologies/grav), [getgrav/grav (Packagist)](https://junglewise.ai/threats/technologies/getgrav-grav). Vendors: [Grav](https://junglewise.ai/threats/vendors/grav), [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2026-56700 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-56700 being exploited in the wild.

**How severe is CVE-2026-56700?** Critical severity, with a CVSS score of 9.8, published 30 June 2026.

**Which products and versions are affected?** Grav before 2.0.0-beta.2; getgrav/grav (Packagist) ECOSYSTEM:introduced=0,fixed=2.0.0-beta.2.

**Is there a fix for CVE-2026-56700?** Yes. getgrav/grav (Packagist): upgrade to 2.0.0-beta.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-56700 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-56700?** Check whether you run Grav or getgrav/grav (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- getgrav/grav (Packagist): upgrade to 2.0.0-beta.2 or later

  ```sh
  composer require getgrav/grav:^2.0.0-beta.2
  ```


## Technical details

Grav CMS versions prior to 2.0.0-beta.2 contain five distinct RCE vectors. Three critical vulnerabilities involve unsafe PHP unserialize() calls in the JobQueue, FileCache, and Session components, where lack of class restriction allows for PHP object injection and gadget chain execution. An additional critical flaw in the InstallCommand component allows for OS command injection because branch, URL, and path parameters are passed to shell commands without proper escaping during git clone operations (requires admin privileges). Finally, a high-severity bypass in the Twig security blocklist allows for server-side template injection (SSTI). These issues are addressed in version 2.0.0-beta.2 through the implementation of HMAC-signed serialized envelopes, proper shell argument escaping, and an updated Twig sandbox.

## Affected products

- Grav Grav CMS before 2.0.0-beta.2

## Identifiers

- CVE-2026-56700
- GHSA-vj3m-2g9h-vm4p

## Timeline

- 2026-04-24: patched: Fixes applied to the 2.0 branch by maintainers.
- 2026-04-27: advisory: GitHub Security Advisory published.
- 2026-06-30: disclosed: NVD publication and VulnCheck advisory.

## References

- [https://github.com/getgrav/grav/security/advisories/GHSA-vj3m-2g9h-vm4p](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](https://www.vulncheck.com/advisories/grav-multiple-remote-code-execution-vulnerabilities-via-unsafe-unserialize-and-command-injection)

## Related threats

- [Grav allowlist bypass in Flex form processing](https://junglewise.ai/threats/cve-2026-116019-grav-2-0-15-before-2-2-13-contains-an-allowlist-bypass)
- [Grav improper access control in FlexDirectory::dynamicFlexField()](https://junglewise.ai/threats/cve-2026-114660-grav-from-2-0-0-before-2-2-5-contains-an-improper-access-control)
- [Grav information disclosure via Twig HTTP Basic credentials](https://junglewise.ai/threats/cve-2026-114657-grav-from-2-0-0-before-2-2-5-contains-an-information-disclosure)
- [Grav image pixel limit bypass allows resource exhaustion](https://junglewise.ai/threats/cve-2026-112782-grav-1-7-53-before-1-7-53-5-and-2-0-0-rc-8-before-2-2-2-contains)
- [Grav information disclosure via nested Git repositories](https://junglewise.ai/threats/cve-2026-109326-grav-before-2-1-7-contains-an-information-disclosure)
