CVE-2026-86195: grav-plugin-api 1.0.0 through 1.0.19 Privilege Escalation via Dot-Keyed Super Flag

Published Sep 5, 2026
·
Updated

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 Software

1 affected component
grav-plugin-api>1.0.0<=1.0.19, <1.0.20

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade grav-plugin-api to a version that resolves this vulnerability.

    Fixed in 1.0.20

Event History

Sep 5, 2026
CVE Published
via MITRE·12:09 PM
Data Sourced
via MITRE·12:09 PM
DescriptionWeakness

Frequently Asked Questions

1

Which deployments are affected?

Deployments running grav-plugin-api versions 1.0.0 through 1.0.19 are affected. Version 1.0.20 is not described as affected.

2

What access does an attacker need to exploit this?

The attacker needs a non-super user-manager account with both api.access and api.users.write permissions. They can then create an invitation whose access payload includes a dot-keyed api.super flag.

3

Does exploitation require the invited person to take action?

No. The attacker can accept the invitation through the public endpoint without interaction from a real invitee, creating a super-admin account and receiving a valid JWT immediately.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203