{"id":"CVE-2026-65008","published":"2026-07-21T11:39:57Z","modified":"2026-10-08T15:23:53Z","title":"Grav before 2.0.7 Remote Code Execution via Blueprint dynamicData","vendor":"getgrav","product":"grav","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0249,"percentile":0.85047,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-fj2p-qj2f-74v5","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/grav-before-remote-code-execution-via-blueprint-dynamicdata","tags":["third-party-advisory"]}],"priority":{"score":28.9,"factors":[{"name":"EPSS percentile","points":17.01},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2026-09-01"},"pocGithub":{"count":1,"skipped":0,"earliest":"2026-07-27","earliestUrl":"https://github.com/zer0dayf/CVE-2026-65008","repos":[{"name":"zer0dayf/CVE-2026-65008","url":"https://github.com/zer0dayf/CVE-2026-65008","stars":1,"created":"2026-07-27"}]},"first":{"date":"2026-07-27","source":"PoC-in-GitHub","url":"https://github.com/zer0dayf/CVE-2026-65008"},"provenance":"source"},"vendorSlug":"getgrav","affectedVersions":[{"vendor":"getgrav","product":"grav","versions":["< 2.0.7"]}],"fixedVersions":[{"vendor":"getgrav","product":"grav","versions":["2.0.7"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-07-22T14:20:32.223632Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-46183","exploited":false,"provenance":"source"},"exploits":[{"id":52669,"url":"https://www.exploit-db.com/exploits/52669","title":"Grav CMS 2.0.7 - Remote Code Execution (RCE)","date":"2026-09-01","verified":false,"provenance":"source"}],"lineage":{"familyId":"fam-getgrav-grav-cve-2024-28117","children":[{"from":"CVE-2026-65008","to":"CVE-2026-64850","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-fj2p-qj2f-74v5","via":"reference","url":"https://github.com/getgrav/grav/security/advisories/GHSA-fj2p-qj2f-74v5"},{"kind":"similar","provenance":"machine","score":0.56,"basis":"same product + CWE + description similarity"}]}]}}