{"id":"CVE-2026-72825","aliases":["CVE-2026-72825"],"related":[],"kind":"vulnerability","state":"published","title":"Grav API Plugin before 1.0.13 API-key scope cap bypass via ReportsController","summary":"The getgrav/grav-plugin-api plugin before 1.0.13 contains an API-key scope cap bypass in the POST /reports/twig-content/allowlist endpoint (ReportsController). The endpoint enforces requirePermission('api.config.write') followed by a bare isSuperAdmin() check instead of requireSuper(). Because isSuperAdmin() reads access.api.super directly and never consults api_key_scopes, a least-privilege API key scoped to api.config.write minted on a super account passes the gate, allowing an attacker to append attacker-chosen tokens to the security.twig_sandbox allowlist (persisted to user/config/security.yaml). Widening the allowlist turns any subsequent Twig-in-content render into an SSTI/RCE sink.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The getgrav/grav-plugin-api plugin before 1.0.13 contains an API-key scope cap bypass in the POST /reports/twig-content/allowlist endpoint (ReportsController). The endpoint enforces requirePermission('api.config.write') followed by a bare isSuperAdmin() check instead of requireSuper(). Because isSuperAdmin() reads access.api.super directly and never consults api_key_scopes, a least-privilege API key scoped to api.config.write minted on a super account passes the gate, allowing an attacker to append attacker-chosen tokens to the security.twig_sandbox allowlist (persisted to user/config/security.yaml). Widening the allowlist turns any subsequent Twig-in-content render into an SSTI/RCE sink.","source":"cvelist"}],"published":"2026-08-14T11:35:33.800Z","modified":"2026-10-29T21:17:32.363Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N","score":7.2,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N","score":7.2,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L","score":7.6,"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-plugin-api","repo":"https://github.com/getgrav/grav-plugin-api","source":"cvelist"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-v5ph-7v92-wqm6","tags":["exploit","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/grav-before-api-key-scope-cap-bypass-via-reportscontroller","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["manus-use"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-08-14T17:59:29.905Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72825","url":"https://www.cve.org/CVERecord?id=CVE-2026-72825","licence":"CVE Terms of Use","modified":"2026-10-29T21:16:49.910Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72825","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72825","licence":"Public domain","modified":"2026-10-29T21:17:32.363Z"}],"updatedAt":"2026-11-25T22:59:32.905Z","epss":{"score":0.00556,"percentile":0.47734,"date":"2026-12-01T12:00:22.000Z"}}