Skip to main content

Grav CMS EUVDEUVD-2026-46183

| CVE-2026-65008 CRITICAL
Code Injection (CWE-94)
2026-07-21 VulnCheck GHSA-3q93-h5p2-5mx8
9.3
CVSS 4.0 · Vendor: VulnCheck
Share

Severity by source

Vendor (VulnCheck) PRIMARY
9.3 CRITICAL
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
vuln.today AI
7.2 HIGH

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.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

3
Patch available
Jul 21, 2026 - 13:17 EUVD
Analysis Generated
Jul 21, 2026 - 12:32 vuln.today
CVE Published
Jul 21, 2026 - 11:39 cve.org
CRITICAL 9.3

DescriptionCVE.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.

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.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

Share

EUVD-2026-46183 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy