CVE-2026-65008
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.
Weakness
- CWE-94: Improper Control of Generation of Code
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2026-07-22 |
Timeline
- 2026-07-21Published by the CNA11:39 UTC
- 2026-07-22CISA SSVC decision recorded1 day after publication
- 2026-09-01First Exploit-DB entry (EDB-ID 52669)42 days after publication
- 2026-09-02GitHub advisory published (GHSA-fj2p-qj2f-74v5)43 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 52669 | webapps | multiple | 2026-09-01 | no |
GitHub advisory GHSA-fj2p-qj2f-74v5, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Packagist getgrav/grav | before 2.0.7 | 2.0.7 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| getgrav grav | from 0 before 2.0.7fixed in 2.0.7before 2.0.7fixed in 2.0.7 | 2.0.72.0.7 |
References
- https://github.com/getgrav/grav/security/advisories/GHSA-fj2p-qj2f-74v5
- https://www.vulncheck.com/advisories/grav-before-remote-code-execution-via-blueprint-dynamicdata
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-65008'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-65008'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-65008'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-65008'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).