Vulnerability in Getgrav Grav
CVE-2026-65608
Grav versions >= 1.7.0 and before 2.0.9 contain a remote code execution vulnerability. FlexDirectory::dynamicDataField() resolves blueprint data-*@: directives by calling call_user_func_array() on attacker-influenced input, validating only that the target is callable (is_callable()) without restricting dangerous functions such as exec, system, passthru, or shell_exec. Because FlexDirectory registers this handler for every Flex directory, it bypasses the validation added to Blueprint::dynamicData() in 2.0.7 (GHSA-fj2p-qj2f-74v5). Any authenticated user with create or update permission on any Flex-based directory (Flex Users, Flex Pages, Flex Objects, or custom Flex types) can execute arbitrary shell commands on the server.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.011 (65.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 66th percentile — 65.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.013 · newest: 0.011 · change: -0.002
Affected products
- Getgrav Grav — versions 1.7.0, 2.0.9
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-65608?
- CVE-2026-65608 is a high-severity vulnerability in Getgrav Grav, classified under Use of Externally-Controlled Input to Select Classes or Code (Unsafe Reflection). CVSS score: 8.8/10. Published 2026-07-23.
- How severe is CVE-2026-65608?
- High severity. CVSS v3 base score is 8.8 out of 10.