CVE-2026-86195
Severity not reportedgrav-plugin-api versions before 1.0.20 contain a privilege escalation vulnerability in the InvitationsController where the stripSuperFlags() method only remove…
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.
Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/getgrav/grav/security/advisories/GHSA-m363-3hww-gcwc disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/grav-plugin-api-1.0.0-through-1.0.19-privilege-escala... disclosure@vulncheck.com
- https://github.com/getgrav/grav/security/advisories/GHSA-m363-3hww-gcwc 134c704f-9b21-4f2e-91b3-4a467353bcc0
