Skip to content
Threat Feed
high advisory

Privilege Escalation in Grav grav-plugin-api

A privilege escalation vulnerability (CVE-2026-109317) in the Grav grav-plugin-api plugin before version 1.0.36 allows users with delegated management permissions to obtain super-admin access.

CVE search metadata

CVE search record: CVE-2026-109317. Severity: high. CVSS: 7.2. KEV: no. Product: grav-plugin-api (< 1.0.36). Brief: Privilege Escalation in Grav grav-plugin-api. Brief link: https://feed.craftedsignal.io/briefs/2026-10-grav-privesc/

The Grav grav-plugin-api plugin, in versions prior to 1.0.36, contains a privilege escalation vulnerability that stems from improper validation of admin or API parent grants. Attackers who possess the 'api.users.write' permission can modify account access maps or invitations. By manipulating these structures to include positive scalar values, an attacker can coerce the permission resolver to incorrectly satisfy 'requireSuper' authorization checks. This flaw allows a standard user manager to elevate their privileges to that of a super-admin, granting them access to restricted API endpoints that should be protected. This vulnerability poses a significant risk to the integrity and confidentiality of the Grav management interface, as it allows for unauthorized administrative control over the application.

Impact

Successful exploitation allows a user with existing, limited 'api.users.write' permissions to escalate their account status to a super-admin level. This provides complete control over the Grav instance's API, potentially leading to unauthorized data exfiltration, system configuration changes, or the compromise of all hosted content. Organizations using the Grav CMS with the affected plugin are vulnerable if they have delegated user management responsibilities to non-administrative accounts.

Recommendation

  • Patch the Grav grav-plugin-api plugin by upgrading to version 1.0.36 or later immediately.
  • Audit existing user accounts and access maps for unauthorized modification or suspicious assignment of 'admin' or 'api' parent grants.
  • Restrict 'api.users.write' permissions to only the most trusted administrative accounts until the upgrade is applied.

Immediate actions

Upgrade Grav grav-plugin-api to 1.0.36 or later

IT Operations 24h

Threat Hunt

Audit account access maps or invitation history for manual insertion of positive scalar grants

T1068 medium medium confidence hunt now

Data: Application logs related to user management and API grants

Mitigations

Restrict api.users.write permissions to verified super-admins

immediate IT Operations

CVE-2026-109317