---
id: CVE-2026-86195
title: >-
  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
summary: >-
  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. …
severity: high
cvss: 8.7
cvssVector: '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'
cwe:
  - CWE-269
vendor: getgrav
product: grav-plugin-api
affected:
  - grav-plugin-api < 1.0.20
published: '2026-09-05'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T20:05:53.177'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-86195'
references:
  - url: 'https://github.com/getgrav/grav/security/advisories/GHSA-m363-3hww-gcwc'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/grav-plugin-api-1.0.0-through-1.0.19-privilege-escalation-via-dot-keyed-super-flag
    label: disclosure@vulncheck.com
  - url: 'https://github.com/getgrav/grav/security/advisories/GHSA-m363-3hww-gcwc'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-08T18:17:46.729354Z'
cvssSource: cna
epss: 0.00387
epssPercentile: 0.30011
ingestedAt: '2026-09-06T09:53:13.580Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
