CVE-2026-86195
Received Received - Intake

Privilege Escalation in Grav CMS Plugin API

Vulnerability report for CVE-2026-86195, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-05

Last updated on: 2026-09-05

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-05
Last Modified
2026-09-05
Generated
2026-09-05
AI Q&A
2026-09-05
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
getgrav grav-plugin-api From 1.0.0 (inc) to 1.0.19 (inc)
grav-plugin-api grav-plugin-api to 1.0.20 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-269 The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-86195 is a privilege escalation flaw in grav-plugin-api versions before 1.0.20. The vulnerability exists in the InvitationsController's stripSuperFlags() method, which fails to remove dot-keyed super flags like api.super while only handling nested forms. A non-super user with specific permissions can create an invitation with a dot-keyed super flag that bypasses security checks. When accepted via a public endpoint, this creates a super-admin account with full site control.

Detection Guidance

Check grav-plugin-api version with: composer show grav-plugin-api. If version is below 1.0.20, the system is vulnerable. Review pending invitations in Grav admin panel for suspicious dot-keyed super flags like api.super.A in access payloads.

Impact Analysis

Attackers can exploit this to gain full administrative access to a Grav CMS site without needing high privileges or user interaction. They can create super-admin accounts and obtain valid JWT tokens for complete site control. The exploit requires only api.access and api.users.write permissions.

Compliance Impact

This vulnerability could lead to unauthorized access and control of sensitive data, violating confidentiality and integrity requirements in GDPR and HIPAA. Full administrative access may result in data breaches, unauthorized modifications, or data exfiltration, all of which are compliance violations.

Mitigation Strategies

Upgrade grav-plugin-api to version 1.0.20 or later immediately. Review and purge all pending invitations in the Grav admin panel to remove any malicious flags. Verify no super-admin accounts were created during the vulnerability window.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-86195. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart