CVE-2026-72824CWE-862broken-access-control

CVE-2026-72824

High · published August 14, 2026

CVSS v3.1
8.8
EPSS
1%
Percentile
53.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
9.3 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS
0.00727 · 53.6th percentile
Weakness
CWE-862 · Missing Authorization
Published
2026-08-14T16:16Z
References (3)
EPSS history
Timeline
  • 14 AUG 11:35Z
    Grav before 1.0.13 API Key Scope Bypass via PagesController
    cvelistv5