Advisory record · GHSA-fj2p-qj2f-74v5

Grav: Remote code execution via unrestricted callable in Blueprint::dynamicData()

CVSS 8.7 HighEPSS 0.025 · 84th percentile

Published by the GitHub Advisory Database at 2 Sept 2026, 14:51 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
getgrav/gravPackagist<2.0.72.0.7
Identifiers
GHSA-fj2p-qj2f-74v5 · CVE-2026-64850 · CVE-2026-65008 · PKSA-1q9r-bgms-91mf
Weakness (CWE)
CWE-94
Published
2 Sept 2026
Updated
2 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Grav versions before 2.0.7 are vulnerable to remote code execution through the Blueprint::dynamicData() function, which passes callable strings from page frontmatter to call_user_func_array() without an allowlist. An attacker with the admin.pages or api.pages.write permission can save a form page containing a crafted callable directive, and the command then runs on the server whenever any visitor, including an unauthenticated one, opens that page. The impact is shell command execution as the web-server user. Upgrade to Grav 2.0.7, which is the fixed version listed.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.7 High 4.0 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 CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.025, the 84th percentile, on 12 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:06 UTC First seen by agentprime
  2. 31 Oct 2026, 14:06 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.