Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/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
Injection requires the elevated admin.pages/api.pages.write permission so PR:H; network-reachable simple callable sink gives AC:L, and full code execution yields C/I/A High with no scope change.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
3DescriptionCVE.org
Grav 2.0.4 (fixed in 2.0.7) contains a remote code execution vulnerability in Blueprint::dynamicData() (system/src/Grav/Common/Data/Blueprint.php), which passes a Class::method callable string and its arguments directly to call_user_func_array() without any allowlist. Because the form plugin routes page frontmatter through this path, an authenticated account with the admin.pages (or api.pages.write) permission can plant a malicious callable directive in a page. The command then executes as the web-server user whenever anyone - including an unauthenticated visitor - accesses the page.
Articles & Coverage 2
AnalysisAI
Remote code execution in Grav CMS 2.0.4 (fixed in 2.0.7) lets an authenticated user holding the admin.pages or api.pages.write permission plant a malicious Class::method callable directive in page frontmatter, which Blueprint::dynamicData() feeds unfiltered into call_user_func_array(). The injected command then executes as the web-server user for any subsequent visitor to the page, including unauthenticated ones. Reported by VulnCheck (CWE-94, CVSS 4.0 base 9.3); no public exploit identified at time of analysis and it is not listed in CISA KEV.
Technical ContextAI
Grav is a PHP-based flat-file content management system (cpe:2.3:a:getgrav:grav). The root cause is CWE-94 (Code Injection): Blueprint::dynamicData() in system/src/Grav/Common/Data/Blueprint.php accepts a callable expressed as a 'Class::method' string plus arguments and dispatches it straight to PHP's call_user_func_array() with no allowlist or type restriction on which classes or methods may be invoked. Because the form plugin routes page frontmatter through the blueprint dynamic-data resolution path, attacker-controlled frontmatter becomes an attacker-controlled callable. This converts a data-binding mechanism into an arbitrary-code-execution primitive whenever the affected page is rendered.
RemediationAI
Vendor-released patch: upgrade to Grav 2.0.7 or later, which introduces restrictions on the callable resolution path; this is the primary and recommended fix, per advisory GHSA-fj2p-qj2f-74v5 (https://github.com/getgrav/grav/security/advisories/GHSA-fj2p-qj2f-74v5). If immediate patching is not possible, tighten the trust boundary that gates the attack: audit and minimize accounts holding admin.pages and api.pages.write so only fully trusted operators can create or edit pages, and disable or restrict the admin panel and Pages API to trusted networks - trade-off is reduced content-editing convenience and possible workflow disruption for delegated editors. Additionally, review existing pages for unexpected callable/Class::method directives in frontmatter, and run the web server under a least-privileged account to limit the blast radius of any code that does execute.
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-46183
GHSA-3q93-h5p2-5mx8