CVE-2026-86195
JSON

8.7high

grav-plugin-api 1.0.0 through 1.0.19 Privilege Escalation via Dot-Keyed Super Flag

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.29% (higher than 23% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
getgrav grav-plugin-apibefore 1.0.20
Not affected: 1.0.20
CVE List

Classification

CWE-269

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-86195 changed 2026-09-08CVE Terms of Use
NVDCVE-2026-86195 changed 2026-09-08Public domain