{"id":"CVE-2026-64850","title":"Grav is a file-based Web platform","summary":"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 dan…","severity":"high","cwe":["CWE-94"],"vendor":"getgrav","product":"getgrav/grav","affected":["getgrav/grav < 2.0.7"],"patched":["getgrav/grav 2.0.7"],"published":"2026-08-19","updated":"2026-09-09","sourceUpdated":"2026-09-09T21:13:25.910","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-64850","references":[{"url":"https://github.com/getgrav/grav/commit/acffa34cbb0787fee87c609e0d6289e904fee33c","label":"security-advisories@github.com"},{"url":"https://github.com/getgrav/grav/releases/tag/2.0.7","label":"security-advisories@github.com"},{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-fj2p-qj2f-74v5","label":"security-advisories@github.com"},{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-fj2p-qj2f-74v5","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64850"},{"url":"https://github.com/advisories/GHSA-fj2p-qj2f-74v5"}],"tags":["nvd","ghsa","composer"],"epss":0.00435,"epssPercentile":0.37146,"aliases":["GHSA-fj2p-qj2f-74v5"],"ecosystem":"composer","ingestedAt":"2026-09-02T15:46:30.093Z","slug":"CVE-2026-64850","body":"## Overview\n\nGrav 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-64850)\n\nAffected packages:\n\n- `getgrav/grav < 2.0.7`\n\nPatched in:\n\n- `getgrav/grav 2.0.7`\n\nSource: https://github.com/advisories/GHSA-fj2p-qj2f-74v5","depth":"twilight","depthScore":41,"depthScoreParts":{"impact":41.3,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}