Privilege escalation in Getgrav Grav
CVE-2026-72828
Grav Plugin API (getgrav/grav-plugin-api) before 1.0.13 fails to enforce API-key scope caps in InvitationsController. The strip-super and accept-groups decisions are gated on a bare isSuperAdmin() check rather than a scope-aware permission check, so a least-privilege API key (scoped to api.users.write) minted on a super account can create an invitation record containing super-admin access flags. When the invitation is accepted, those flags are written verbatim to the new account, resulting in privilege escalation to a fully controlled super account.
Vulnerability class: Privilege Escalation
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.005, 42.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Getgrav Grav — versions 0, 1.0.13
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-wvpj-fg8h-843q) (vendor-advisory)
- VulnCheck Advisory: Grav before 1.0.13 API Key Scope Bypass via InvitationsController (third-party-advisory)