{"schemaVersion":3,"id":"CVE-2026-65008","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-07-21T11:39:57.075Z","modified":"2026-10-08T15:23:53.469Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":9.3,"severity":"critical","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":9.3,"severity":"critical","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0249,"percentile":0.8442,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.47499999999999976,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.02015},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02015,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02015,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02015,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02015,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02015,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02015,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02015,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02015,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02015,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02015,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0249,"percentile":0.8442}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.02015,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02015,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02015,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02015,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0249,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0249,"percentile":0.8442}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"52669","name":"Grav CMS 2.0.7 - RCE","source":"exploit-database","url":"https://www.exploit-db.com/exploits/52669","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":null,"platforms":["multiple"],"requiresAuth":null,"exploitdb":{"verified":false,"type":"webapps","platform":"multiple","file":"exploits/multiple/webapps/52669.py","codes":["CVE-2026-65008"]},"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-94","name":"Improper Control of Generation of Code ('Code Injection')","description":"The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/94.html"}],"affected":[{"vendor":"getgrav","product":"grav","name":"grav","label":"grav","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.0.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.7","eol":null,"hubHref":"/vendor/getgrav/grav"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-fj2p-qj2f-74v5","label":"github.com/getgrav/grav/security/advisories/GHSA-fj2p-qj2f-74v5","hostname":"github.com","tags":["Vendor Advisory"]},{"url":"https://www.vulncheck.com/advisories/grav-before-remote-code-execution-via-blueprint-dynamicdata","label":"www.vulncheck.com/advisories/grav-before-remote-code-execution-via-blueprint-dynamicdata","hostname":"www.vulncheck.com","tags":["Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-07-21T11:39:57.075Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-08T15:23:53.469Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T09:26:07.494Z","stale":false,"partial":false}}