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.
Published: 2026-09-05
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability in grav‑plugin‑api before version 1.0.20 allows privilege escalation because the stripSuperFlags() method fails to remove dot‑keyed super flags such as api.super, a flaw that aligns with CWE‑269 Access Control weaknesses. A non‑super user manager who possesses api.access and api.users.write permissions can create a crafted invitation containing a dot‑keyed super flag. When the invitation is accepted, the flag bypasses the guard and persists in the new account, enabling an attacker to obtain a super‑admin role and generate a valid JWT for full site control.

Affected Systems

Grav CMS installations that use getgrav’s grav‑plugin‑api plugin in versions 1.0.0 through 1.0.19 are affected. The vulnerability is fixed in version 1.0.20 and later.

Risk and Exploitability

The CVSS base score is 8.7, indicating high severity. EPSS is not available, and the vulnerability is not listed in the CISA KEV catalog. The attack path involves submitting a crafted invitation via the public invitation acceptance endpoint; this public API endpoint allows an attacker to create a super‑admin account and immediately acquire a valid JWT. The likely vector is the web interface, and the risk of exploitation remains significant until the plugin is updated.

Generated by OpenCVE AI on September 5, 2026 at 13:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade grav‑plugin‑api to version 1.0.20 or later.
  • Disable or restrict the public invitation acceptance endpoint until the plugin is updated.
  • Monitor the system for new super‑admin accounts and review access logs for suspicious activity.

Generated by OpenCVE AI on September 5, 2026 at 13:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 05 Sep 2026 12:30:00 +0000

Type Values Removed Values Added
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.
Title grav-plugin-api 1.0.0 through 1.0.19 Privilege Escalation via Dot-Keyed Super Flag
First Time appeared Getgrav
Getgrav grav
Weaknesses CWE-269
CPEs cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*
Vendors & Products Getgrav
Getgrav grav
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-05T12:09:08.807Z

Reserved: 2026-09-05T11:51:31.102Z

Link: CVE-2026-86195

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-05T13:18:14.853

Modified: 2026-09-05T13:18:14.853

Link: CVE-2026-86195

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-05T13:30:05Z

Weaknesses
  • CWE-269

    Improper Privilege Management