CVE-2026-65608: Grav before 2.0.9 Remote Code Execution via FlexDirectory

Published Jul 23, 2026
·
Updated

Grav versions >= 1.7.0 and before 2.0.9 contain a remote code execution vulnerability. FlexDirectory::dynamicDataField() resolves blueprint data-@: directives by calling calluserfuncarray() on attacker-influenced input, validating only that the target is callable (iscallable()) without restricting dangerous functions such as exec, system, passthru, or shellexec. Because FlexDirectory registers this handler for every Flex directory, it bypasses the validation added to Blueprint::dynamicData() in 2.0.7 (GHSA-fj2p-qj2f-74v5). Any authenticated user with create or update permission on any Flex-based directory (Flex Users, Flex Pages, Flex Objects, or custom Flex types) can execute arbitrary shell commands on the server.

Affected Software

1 affected component
getgrav grav>1.7.0<2.0.9

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.9
  2. Upgrade

    Upgrade Grav to a version that resolves this vulnerability.

    Fixed in 2.0.7Patch GHSA-fj2p-qj2f-74v5

Event History

Jul 23, 2026
CVE Published
via MITRE·11:42 AM
Data Sourced
via MITRE·11:42 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:18 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-65608?

CVE-2026-65608 has a high severity score of 8.8.

2

What does CVE-2026-65608 exploit in Grav?

CVE-2026-65608 exploits a remote code execution vulnerability in Grav versions between 1.7.0 and before 2.0.9.

3

How can I fix CVE-2026-65608?

To fix CVE-2026-65608, update Grav to version 2.0.9 or later.

4

Who is affected by CVE-2026-65608?

All users of Grav versions 1.7.0 to before 2.0.9 are affected by CVE-2026-65608.

5

What is the potential impact of CVE-2026-65608?

The potential impact of CVE-2026-65608 is remote code execution, allowing attackers 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