{"id":6631,"date":"2026-09-04T18:49:10","date_gmt":"2026-09-04T10:49:10","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-72825"},"modified":"2026-09-04T18:49:10","modified_gmt":"2026-09-04T10:49:10","slug":"cve-2026-72825","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-72825","title":{"rendered":"CVE-2026-72825 [HIGH] &#8211; The getgrav\/grav-plugin-api plugin before 1.0.13 contains an API-key scope cap bypass in t"},"content":{"rendered":"<p>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(&#8216;api.config.write&#8217;) 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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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(<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-6631","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/6631","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6631"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6631"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6631"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}