Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Network-reachable via CMS admin panel (AV:N), low complexity, requires page-editor account (PR:L), no UI needed; high C and I from file read/write primitives, no availability impact described.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
3DescriptionCVE.org
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.
AnalysisAI
Arbitrary public static PHP method invocation in Grav CMS 2.0.7-2.0.10 allows any account holding page-editing rights (admin.pages) to read arbitrary server-readable files and create or copy files and directories under the web-server account. The flaw lies in Blueprint::isSafeDynamicCall(), which skips its dangerous-callable denylist entirely for strings containing '::' - meaning fully-qualified Class::method notation in blueprint dynamic-field directives is never checked against the blocklist. No active exploitation has been confirmed (not in CISA KEV), and no public exploit code is identified at time of analysis, but the low-privilege requirement and high-impact outcome make this a credible internal threat in multi-tenant or shared Grav deployments.
Technical ContextAI
Grav CMS (cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*) is a flat-file PHP CMS that uses a YAML-based Blueprint system to define form fields in page frontmatter. Blueprint dynamic-field directives support callable references to invoke PHP methods for things like field population or validation. The security guard Blueprint::isSafeDynamicCall() was designed to block dangerous callables, but its denylist logic contains a conditional: strings containing '::' - the PHP fully-qualified static method syntax (ClassName::methodName) - are exempted from the check entirely. This maps to CWE-94 (Improper Control of Generation of Code / Code Injection), specifically a logic bypass that permits an attacker to invoke any reachable public static PHP method with attacker-controlled arguments. Built-in PHP and framework gadget methods then serve as primitives for file read (e.g., file_get_contents) and file write/copy operations, exposing the impact without requiring a custom exploit payload.
RemediationAI
The primary fix is to upgrade Grav CMS to version 2.0.11, which corrects the Blueprint::isSafeDynamicCall() logic to apply the dangerous-callable denylist to all callable strings regardless of whether they contain '::'. The vendor advisory is at https://github.com/getgrav/grav/security/advisories/GHSA-7pgq-cr25-xvc8. If immediate upgrade is not possible, the most effective compensating control is to revoke admin.pages access from all non-trusted accounts and audit existing pages for frontmatter containing '::' patterns in dynamic-field directives - this can be done by grepping YAML frontmatter across the pages directory. A secondary control is to restrict the web-server account's filesystem permissions to only the Grav installation directory, limiting the blast radius of the file-read and file-write primitives. Note that restricting the web-server account may affect legitimate Grav functionality such as plugin installation and cache writes. Blocking page-editor access entirely prevents exploitation but also eliminates the intended content-editing workflow.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
Same weakness CWE-94 – Code Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-52281
GHSA-vj8j-973f-r65j