# CVE-2026-64850: Grav: Remote code execution via unrestricted callable in Blueprint::dynamicData()

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- 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): 0.95%, higher than 62% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-19T15:58:02.850Z
- Modified: 2026-09-09T21:13:25.910Z
- Also known as: GHSA-fj2p-qj2f-74v5
- Related: CVE-2026-65008
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Grav is a file-based Web platform. Prior to 2.0.7, Grav Blueprint::dynamicData() in system/src/Grav/Common/Data/Blueprint.php sends an editor-controlled Class::method provider and arguments to call_user_func_array() without rejecting dangerous callback parameters. An account with admin.pages or api.pages.write can use Grav\Common\Utils::arrayFilterRecursive() as a trampoline with system as the callback, place a command in page frontmatter, and execute that command as the web server user when the page is viewed. This issue is fixed in version 2.0.7.

(As written by CVE List.)

## Affected

- getgrav grav: < 2.0.7
- getgrav/grav (Packagist): before 2.0.7

## Every score

- GitHub_M: CVSS:4.0 8.7 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`
- 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, web)
- <https://github.com/getgrav/grav/commit/acffa34cbb0787fee87c609e0d6289e904fee33c> (web)
- <https://github.com/getgrav/grav/releases/tag/2.0.7> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-64850> (advisory)
- <https://github.com/getgrav/grav> (package)

## Sources

- CVE List: [CVE-2026-64850](https://www.cve.org/CVERecord?id=CVE-2026-64850), CVE Terms of Use, modified 2026-08-19
- 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-64850](https://nvd.nist.gov/vuln/detail/CVE-2026-64850), Public domain, modified 2026-09-09

---

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