CVE-2026-65008: Grav before 2.0.7 Remote Code Execution via Blueprint dynamicData

Published Jul 21, 2026
·
Updated

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 calluserfuncarray() 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 Software

1 affected component
Grav Grav<2.0.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Grav to a version that resolves this vulnerability.

    Fixed in 2.0.7
  2. Compensating control

    Restrict access to Grav pages/route rendering that uses the affected Form plugin behavior so that untrusted visitors do not trigger execution; use network controls such as firewall/ACL to limit who can access the vulnerable endpoints.

Event History

Jul 21, 2026
CVE Published
via MITRE·11:39 AM
Data Sourced
via MITRE·11:39 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:19 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-65008?

The severity of CVE-2026-65008 is critical with a score of 9.8.

2

How do I fix CVE-2026-65008?

To fix CVE-2026-65008, upgrade Grav to version 2.0.7 or later.

3

What type of vulnerability is CVE-2026-65008?

CVE-2026-65008 is a remote code execution vulnerability due to improper handling of class method callables.

4

Which versions of Grav are affected by CVE-2026-65008?

Grav versions prior to 2.0.7 are affected by CVE-2026-65008.

5

What can attackers do with CVE-2026-65008?

Attackers can exploit CVE-2026-65008 to execute arbitrary code on the server.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203