CVE-2026-65608
HIGHGrav before 2.0.9 Remote Code Execution via FlexDirectory
Title source: cnaDescription
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.
References (3)
Core 3
Core References
Vendor Advisory vendor-advisory
GitHub Security Advisory (GHSA-c4wf-2xxc-68qm)
https://github.com/getgrav/grav/security/advisories/GHSA-c4wf-2xxc-68qm
Third Party Advisory third-party-advisory
VulnCheck Advisory: Grav before 2.0.9 Remote Code Execution via FlexDirectory
https://www.vulncheck.com/advisories/grav-before-remote-code-execution-via-flexdirectory
Scores
CVSS v3
8.8
EPSS
0.0085
EPSS Percentile
54.6%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
total
Details
CWE
CWE-470
Status
published
Products (2)
getgrav/grav
1.7.0 - 2.0.9
getgrav/grav
2.0.9
Published
Jul 23, 2026
Tracked Since
Jul 23, 2026