Technical impact
The Grav API plugin contains a flaw that allows a scoped API key—despite being declared read‑only—to bypass its permission limits on four write endpoints guarded by an isSuperAdmin() check. This grants the vulnerability a CWE‑269 classification for Privilege Escalation. The plugin’s super‑admin early return skips the required requirePermission() check that normally enforces the scope cap, enabling a key with permissions such as api.pages.read to perform super‑admin write actions, including rewriting group ACL maps to grant super‑admin rights to arbitrary accounts. Consequently, a leaked or delegated read‑only CI/monitoring key can acquire full super‑admin capabilities, compromising the site’s integrity and security.
Affected Systems
getgrav is the vendor impacted, specifically its grav‑plugin‑api plugin. The vulnerability applies to plugin versions 1.0.6 through 1.0.12, which are bundled in getgrav releases 1.x, 1.7.x, and 2.0.x up to 2.0.10. The flaw was fixed in plugin version 1.0.13.
Risk and Exploitability
The CVSS score of 8.7 indicates high severity. EPSS is less than 1 %, indicating a very low likelihood of exploitation observed in the field, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is remote exploitation of the Grav API using an exposed or stolen scoped API key; an attacker only needs a key that exists in a CI or monitoring pipeline and does not require further privileges. If such a key is compromised, the attacker can overwrite group ACLs and grant themselves super‑admin rights, effectively escalating privileges across the entire CMS.