CVE-2026-64850 Grav: Remote code execution via unrestricted callable in Blueprint::dynamicData()
HighCVSS 8.7
EPSS 0.47%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- PHP
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| getgrav/grav(Packagist) | < 2.0.7 | 2.0.7 | Fixed |
| getgrav/grav | = < 2.0.7 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| getgrav/grav | = < 2.0.7 | No fix listed |
| getgrav/grav(Packagist) | < 2.0.7 | 2.0.7 |
References
- https://github.com/getgrav/grav/security/advisories/GHSA-fj2p-qj2f-74v5 exploit vendor-advisory
- https://github.com/getgrav/grav/commit/acffa34cbb0787fee87c609e0d6289e904fee33c patch
- https://github.com/getgrav/grav/releases/tag/2.0.7
- nvd.nist.gov third-party-advisory
- github.com
- ENISA EUVD EUVD-2026-62549 third-party-advisory