Vulnerability

CVE-2026-72824

highCVSS 4.0 8.7Published 14 Aug 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

The Grav API plugin (getgrav/grav-plugin-api) before 1.0.13 contains an API key scope-cap bypass in PagesController::guardTwigContent(). The Twig-toggle check uses a bare isSuperAdmin() gate that does not consult api_key_scopes, so a least-privilege API key scoped only to api.pages.write and minted on a super account can enable process.twig on a page save even though admin.pages_twig is intentionally outside the api.pages scope. When security.twig_content.process_enabled=true and editor_enabled=false, this allows Twig-in-content to execute server-side, resulting in server-side template injection (SSTI) and remote code execution.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /getgrav/grav/security/advisories/GHSA-96xv-p87j-58mx
  • www.vulncheck.com /advisories/grav-before-api-key-scope-bypass-via-pagescontr…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning