CVE-2026-65008CWE-94code-injection

CVE-2026-65008

Critical · published July 21, 2026

CVSS v3.1
9.8
EPSS
2%
Percentile
84.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02490 · 84.5th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-07-21T16:19Z
References (3)
EPSS history
Timeline
  • 21 JUL 11:39Z
    Grav before 2.0.7 Remote Code Execution via Blueprint dynamicData
    cvelistv5