Skip to content

CVE-2026-69088 Grav CMS 2.0.7 through 2.0.10 Arbitrary Method Invocation via Blueprint

HighCVSS 8.6 EPSS 0.41%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total
Technology
PHP

Description

Grav CMS versions 2.0.7 through 2.0.10 fail to validate fully-qualified static method calls (Class::method) in blueprint dynamic-field directives because Blueprint::isSafeDynamicCall() only applies its dangerous-callable denylist to strings that do not contain '::'. An account with only page-editing rights (admin.pages, not super-admin or admin.pages_twig) can plant a directive in a page's form-field frontmatter that invokes an arbitrary public static PHP method with attacker-controlled arguments. Using built-in gadget methods this allows reading of any server-readable file (disclosed to anonymous visitors of the crafted page) and arbitrary creation/copying of files and directories under the web-server account. Fixed in 2.0.11.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
getgrav/grav >= 2.0.7, < 2.0.11 2.0.11 Fixed
getgrav/grav(Packagist) = 2.0.7; = 2.0.8; = 2.0.9; = 2.0.10 +2 more 2.0.11 Fixed

Affected products

ProductAffected versionsFixed in
getgrav/grav(Packagist) >= 2.0.7, < 2.0.11 2.0.11
getgrav/grav(Packagist) = 2.0.10 No fix listed
getgrav/grav(Packagist) = 2.0.7 No fix listed
getgrav/grav(Packagist) = 2.0.8 No fix listed
getgrav/grav(Packagist) = 2.0.9 No fix listed
getgrav/grav >= 2.0.7, < 2.0.11 2.0.11
getgrav/grav(Packagist) >= 2.0.7, <= 2.0.10 No fix listed

References