CVE-2026-65008

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductGrav
PublishedJul 21, 2026
First seenJul 21, 2026

How to fix

Update
  • getgrav grav2.0.7 or later

Affected products

ProductAffected versionsFixed in
getgrav gravv < 2.0.72.0.7

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.