Skip to content
Heist/ feed
Critical

Grav before 2.0.7 Remote Code Execution via Blueprint dynamicData

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-65008

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-65008

grav

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "getgrav",
    "product": "grav",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "2.0.7",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "2.0.7",
        "versionType": "semver"
      }
    ],
    "packageURL": "pkg:composer/getgrav/grav",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-65008

Source reference: /cveMetadata/cveId

Publisher severity

critical

Source reference: /containers/cna/metrics

Event
#12791 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement