CVE-2026-86195 grav-plugin-api 1.0.0 through 1.0.19 Privilege Escalation via Dot-Keyed Super Flag
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
Description
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| getgrav grav-plugin-api | < 1.0.20 | 1.0.20 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| getgrav grav-plugin-api | < 1.0.20 | 1.0.20 |
References
- GitHub Security Advisory (GHSA-m363-3hww-gcwc) exploit vendor-advisory
- VulnCheck Advisory: grav-plugin-api 1.0.0 through 1.0.19 Privilege Escalation via Dot-Keyed Super Flag third-party-advisory
- ENISA EUVD EUVD-2026-71997 third-party-advisory