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

- Severity: Critical 9.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.97%, higher than 80% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-21T11:39:57.075Z
- Modified: 2026-10-24T20:10:00.137Z
- Also known as: GHSA-fj2p-qj2f-74v5
- Related: CVE-2026-64850
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- getgrav grav: before 2.0.7 (not affected: 2.0.7)
- getgrav/grav (Packagist): before 2.0.7

## Every score

- VulnCheck: CVSS:4.0 9.3 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/getgrav/grav/security/advisories/GHSA-fj2p-qj2f-74v5> (exploit, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/grav-before-remote-code-execution-via-blueprint-dynamicdata> (third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-64850> (advisory)
- <https://github.com/getgrav/grav/commit/acffa34cbb0787fee87c609e0d6289e904fee33c> (web)
- <https://github.com/getgrav/grav> (package)
- <https://github.com/getgrav/grav/releases/tag/2.0.7> (web)

## Sources

- CVE List: [CVE-2026-65008](https://www.cve.org/CVERecord?id=CVE-2026-65008), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-fj2p-qj2f-74v5](https://github.com/advisories/GHSA-fj2p-qj2f-74v5), CC-BY-4.0, modified 2026-09-02
- NVD: [CVE-2026-65008](https://nvd.nist.gov/vuln/detail/CVE-2026-65008), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-65008 · Whole record: https://cve.day/CVE-2026-65008.json · Rebuilt by cve.day 2026-11-25T22:59:29.313Z
