CVE-2026-86195

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

Published Sep 5, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Getgrav grav-plugin-api
Vendors & Products Getgrav grav-plugin-api
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'}

Weaknesses
  • CWE-269

    Improper Privilege Management

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Sep 8, 2026, 6:18 PM
Reserved
Sep 5, 2026, 11:51 AM
Status
Deferred
Published
Sep 5, 2026, 1:18 PM
Modified
Sep 8, 2026, 8:05 PM