{"id":"CVE-2026-72824","aliases":["CVE-2026-72824"],"related":[],"kind":"vulnerability","state":"published","title":"Grav before 1.0.13 API Key Scope Bypass via PagesController","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-08-14T11:35:33.122Z","modified":"2026-08-31T20:38:54.340Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-862"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.0.13","status":"affected"},{"type":"semver","version":"1.0.13","status":"unaffected"}],"vendor":"getgrav","product":"grav","source":"cvelist"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-96xv-p87j-58mx","tags":["exploit","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/grav-before-api-key-scope-bypass-via-pagescontroller","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["manus-use"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2026-08-14T14:45:42.467Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72824","url":"https://www.cve.org/CVERecord?id=CVE-2026-72824","licence":"CVE Terms of Use","modified":"2026-08-24T10:28:31.860Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72824","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72824","licence":"Public domain","modified":"2026-08-31T20:38:54.340Z"}],"updatedAt":"2026-11-25T22:59:32.905Z","epss":{"score":0.00404,"percentile":0.3678,"date":"2026-12-01T12:00:22.000Z"}}