Paper/Archive/CVE-2026-65008

CVE-2026-65008

getgrav grav — Grav before 2.0.7 Remote Code Execution via Blueprint dynamicData

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
grav< 2.0.72.0.7CNA

Scores by source

VulnCheck (CNA)9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
VulnCheck (CNA)9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: total

References

exploitgithub.com/getgrav/grav/security/advisories/GHSA-fj2p-qj2f-74v5writeupvulncheck.com/advisories/grav-before-remote-code-execution-via-blueprint-dynamicdata