Quick answers
- Is CVE-2026-65608 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-65608 being exploited in the wild.
- How severe is CVE-2026-65608?
- High severity, with a CVSS score of 8.8, published 23 July 2026.
- Which products and versions are affected?
- Grav >= 1.7.0, < 2.0.9; getgrav/grav (Packagist) >= 1.7.0, < 2.0.9, ECOSYSTEM:introduced=1.7.0,fixed=2.0.9.
- Is there a fix for CVE-2026-65608?
- Yes. getgrav/grav (Packagist): upgrade to 2.0.9 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-65608 attacked?
- It is attacked over the network, in a web application.
- Am I affected by CVE-2026-65608?
- 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.9 or later
composer require getgrav/grav:^2.0.9
Technical details
A remote code execution (RCE) vulnerability exists in Grav's Flex framework due to an unsafe reflection flaw in FlexDirectory::dynamicDataField(). The component resolves 'data-*@:' directives in blueprints by passing attacker-influenced input to call_user_func_array(). While the system checks if the input is_callable(), it fails to restrict dangerous PHP functions such as exec(), system(), or shell_exec(). This vulnerability represents a bypass of a previous fix (GHSA-fj2p-qj2f-74v5) because the Flex system uses a separate, unprotected handler instead of the patched Blueprint::dynamicData() method. An authenticated attacker with 'create' or 'update' permissions on any Flex-based directory can trigger the vulnerability to achieve arbitrary command execution. The issue is addressed in version 2.0.9.
Affected products
- getgrav Grav >= 1.7.0, < 2.0.9
Identifiers
- CVE-2026-65608
- GHSA-c4wf-2xxc-68qm
Timeline
- 2026-07-09: advisory: GitHub Security Advisory GHSA-c4wf-2xxc-68qm published
- 2026-07-23: disclosed: NVD publication of CVE-2026-65608
- 2026-07-23: patched: Fix released in version 2.0.9