CVE-2026-69088
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 Bluep…
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | getgrav/grav | >= 2.0.7, <= 2.0.10 | 2.0.11 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-7pgq-cr25-xvc8
- https://github.com/getgrav/grav/security/advisories/GHSA-7pgq-cr25-xvc8
- https://nvd.nist.gov/vuln/detail/CVE-2026-69088
- https://www.vulncheck.com/advisories/grav-cms-through-arbitrary-method-invocation-via-blueprint
- https://github.com/getgrav/grav/commit/446d7f8f255918c8234634fe1dc2c9c77a0c673e
- https://github.com/getgrav/grav/releases/tag/2.0.11