{"id":"CVE-2026-65008","revision":"7167d3a03215406d9f89c8e31b0426e5","records":[{"revision":"7167d3a03215406d9f89c8e31b0426e5","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-65008","aliases":[],"title":"Grav before 2.0.7 Remote Code Execution via Blueprint dynamicData","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.","state":0,"publishedAt":"2026-07-21T11:39:57.075+00:00","modifiedAt":"2026-10-08T15:23:53.469+00:00","affected":[{"ecosystem":"Vendor product","name":"grav","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"getgrav\",\n                    \"product\": \"grav\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"2.0.7\"\n                        },\n                        {\n                            \"version\": \"2.0.7\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"packageURL\": \"pkg:composer/getgrav/grav\"\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":9.3,"severity":"CRITICAL"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":"CRITICAL"}],"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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-65008","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-65008","identifiers":["CVE-2026-65008"]},"retained":false,"historicalAffected":[]}],"coverage":[]}