Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. getgrav/grav
  4. ›
  5. CVE-2026-64850

CVE-2026-64850: Grav: Remote code execution via unrestricted callable in Blueprint::dynamicData()

September 2, 2026

An account with the admin.pages permission (or api.pages.write) can run shell commands on the server. The command executes whenever anyone — including an unauthenticated visitor — opens the page.

References

  • github.com/advisories/GHSA-fj2p-qj2f-74v5
  • github.com/getgrav/grav/commit/acffa34cbb0787fee87c609e0d6289e904fee33c
  • github.com/getgrav/grav/releases/tag/2.0.7
  • github.com/getgrav/grav/security/advisories/GHSA-fj2p-qj2f-74v5
  • nvd.nist.gov/vuln/detail/CVE-2026-64850

Code Behaviors & Features

Detect and mitigate CVE-2026-64850 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.0.7

Fixed versions

  • 2.0.7

Solution

Upgrade to version 2.0.7 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

packagist/getgrav/grav/CVE-2026-64850.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:24 +0000.