CVE-2026-65008

CRITICAL LAB

Grav before 2.0.7 Remote Code Execution via Blueprint dynamicData

Title source: cna
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2026-65008. PoCs published by zer0dayf.

AI-analyzed exploit summary Authenticated RCE in Grav CMS < 2.0.7 via unrestricted call_user_func_array() in Blueprint::dynamicData(), chained with arrayFilterRecursive trampoline to execute system commands. Exploit plants malicious frontmatter in a page to trigger RCE when the page is accessed.

Description

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.

Exploits (1)

github WORKING POC
by zer0dayf · pythonpoc
https://github.com/zer0dayf/CVE-2026-65008

Authenticated RCE in Grav CMS < 2.0.7 via unrestricted call_user_func_array() in Blueprint::dynamicData(), chained with arrayFilterRecursive trampoline to execute system commands. Exploit plants malicious frontmatter in a page to trigger RCE when the page is accessed.

Classification
Working Poc 99%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Grav CMS < 2.0.7
Auth required
Prerequisites: Valid admin or page-edit user credentials with 'admin.pages' or 'api.pages.write' permissions · Target must be running Grav CMS version < 2.0.7
mistral-large-3 · analyzed Jul 27, 2026 Full analysis →

References (2)

Core 2
Core References
Vendor Advisory vendor-advisory
GitHub Security Advisory (GHSA-fj2p-qj2f-74v5)
https://github.com/getgrav/grav/security/advisories/GHSA-fj2p-qj2f-74v5
Third Party Advisory third-party-advisory
VulnCheck Advisory: Grav before 2.0.7 Remote Code Execution via Blueprint dynamicData
https://www.vulncheck.com/advisories/grav-before-remote-code-execution-via-blueprint-dynamicdata

Scores

CVSS v3 9.8
EPSS 0.0065
EPSS Percentile 47.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact total

Lab Environment

COMMUNITY
Community Lab

Details

CWE
CWE-94
Status published
Products (2)
getgrav/grav < 2.0.7
getgrav/grav 2.0.7
Published Jul 21, 2026
Tracked Since Jul 21, 2026