PT-2026-71997 · Grav · Grav-Plugin-Api
CVSS v3.1
7.2
High
| Vector | AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Grav Plugin API (getgrav/grav-plugin-api) versions prior to 1.0.13
Description
An issue exists in the
InvitationsController where API-key scope caps are not properly enforced. The system uses a basic isSuperAdmin() check instead of a scope-aware permission check for strip-super and accept-groups decisions. Consequently, an API key with limited privileges (scoped to api.users.write) created from a super account can generate an invitation record that includes super-admin access flags. Once the invitation is accepted, these flags are applied to the new account, leading to privilege escalation to a super account.Recommendations
Update Grav Plugin API (getgrav/grav-plugin-api) to version 1.0.13 or later.
Fix
LPE
Improper Privilege Management
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Grav-Plugin-Api