BuzzPHP
LightDarkSystem

Grav: FlexDirectory::dynamicDataField() executes arbitrary callables from blueprint data with no validation

High severity. Published 17 September 2026. Update getgrav/grav to 2.0.9 or later: composer update getgrav/grav.

Which versions are affected?

PackageAffected versionsFixed in
getgrav/grav (opens in a new tab)>= 1.7.0, < 2.0.92.0.9

What should you do?

Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:

composer show getgrav/grav
composer audit

Advisory details

SeverityHighCVSS 8.8
Published
Updated
CVECVE-2026-65608 (opens in a new tab)
GHSAGHSA-c4wf-2xxc-68qm (opens in a new tab)
WeaknessCWE-470

What the advisory says

Summary

A missing validation check in Grav's Flex framework lets an account holding nothing but an ordinary object-create permission on a single Flex directory execute arbitrary shell commands on the server. Any authenticated user with create or update rights on a Flex-based directory (Flex Users, Flex Pages, Flex Objects, or any custom Flex type) can trigger it the moment a blueprint field anywhere in that directory carries a data-@: directive, since the code that resolves those directives calls calluserfuncarray() on attacker-influenced input with no restriction at all.

This is a bypass of GHSA-fj2p-qj2f-74v5, already patched in 2.0.7.

Source: GHSA-c4wf-2xxc-68qm (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .

Other recent advisories for this package

All Composer security advisories