{
  "id": "CVE-2026-64850",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-64850",
  "published_at": "2026-08-19T15:58:02.85Z",
  "title": "Grav: Remote code execution via unrestricted callable in Blueprint::dynamicData()",
  "vendor": "getgrav",
  "product": "grav",
  "cvss": {
    "score": 8.7,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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 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.",
  "cwe": "CWE-94",
  "cvss_by_source": {
    "cna": 8.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "getgrav",
        "product": "grav",
        "ranges": [
          "\u003c 2.0.7"
        ],
        "fixed_in": [
          "2.0.7"
        ]
      }
    ],
    "upgrade": [
      "Upgrade grav to 2.0.7 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/getgrav/grav/security/advisories/GHSA-fj2p-qj2f-74v5"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/getgrav/grav/commit/acffa34cbb0787fee87c609e0d6289e904fee33c"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/getgrav/grav/releases/tag/2.0.7"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
