{"id":"CVE-2026-72825","published":"2026-08-14T11:35:33Z","modified":"2026-10-29T21:16:49Z","title":"Grav API Plugin before 1.0.13 API-key scope cap bypass via ReportsController","vendor":"getgrav","product":"grav-plugin-api","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00346,"percentile":0.20604,"provenance":"source"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-v5ph-7v92-wqm6","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/grav-before-api-key-scope-cap-bypass-via-reportscontroller","tags":["third-party-advisory"]}],"priority":{"score":9.4,"factors":[{"name":"EPSS percentile","points":4.12},{"name":"CVSS severity","points":5.32}]},"vendorSlug":"getgrav","affectedVersions":[{"vendor":"getgrav","product":"grav-plugin-api","versions":["< 1.0.13"]}],"fixedVersions":[{"vendor":"getgrav","product":"grav-plugin-api","versions":["1.0.13"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-14T17:59:29.905039Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-58639","exploited":false,"provenance":"source"}}