Privilege escalation in Getgrav Grav-Plugin-Api
CVE-2026-86195
grav-plugin-api versions before 1.0.20 contain a privilege escalation vulnerability in the InvitationsController where the stripSuperFlags() method only removes nested super flags but fails to strip dot-keyed equivalents like api.super. A non-super user manager with api.access and api.users.write permissions can create an invitation with a dot-keyed super flag in the access payload that bypasses the guard and persists to the new account. Attackers can accept the invitation through the public endpoint without real invitee interaction to create a super-admin account and immediately receive a valid JWT for full site control.
Vulnerability class: Privilege Escalation
Published · last modified .
EPSS exploit prediction
EPSS: 0.004 (31.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 31st percentile — 31.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.004 · change: +0.002
Affected products
Weakness classification (CWE)
References
- github.com/getgrav/grav/security/advisories/GHSA-m363-3hww-gcwc (vendor-advisory)
- www.vulncheck.com/advisories/grav-plugin-api-1.0.0-through-1.0.19-privilege-esc… (third-party-advisory)