{"id":"CVE-2026-72824","published":"2026-08-14T11:35:33Z","modified":"2026-08-24T10:28:31Z","title":"Grav before 1.0.13 API Key Scope Bypass via PagesController","vendor":"getgrav","product":"grav","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00727,"percentile":0.50058,"provenance":"source"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-96xv-p87j-58mx","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/grav-before-api-key-scope-bypass-via-pagescontroller","tags":["third-party-advisory"]}],"priority":{"score":16.2,"factors":[{"name":"EPSS percentile","points":10.01},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"getgrav","affectedVersions":[{"vendor":"getgrav","product":"grav","versions":["< 1.0.13"]}],"fixedVersions":[{"vendor":"getgrav","product":"grav","versions":["1.0.13"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-08-14T14:45:42.467439Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-58638","exploited":false,"provenance":"source"}}