PT-2026-72002 · Grav · Grav-Plugin-Api
CVSS v3.1
8.8
High
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Grav API plugin (getgrav/grav-plugin-api) versions 1.0.6 through 1.0.11
Description
A privilege escalation issue exists where a scoped API key created from a super-admin account can bypass its defined scope restrictions. This occurs because four write endpoints within
GroupsController, AccountsConfigController, PreferencesController, and DashboardWidgetController use an isSuperAdmin() check that returns early without calling requirePermission(), which is the only mechanism that enforces scope limits. Consequently, a key with read-only permissions, such as api.pages.read, can execute administrative write operations, including the modification of group Access Control Lists (ACL) to grant super-admin privileges to any account.Recommendations
Update Grav API plugin (getgrav/grav-plugin-api) to version 1.0.13.
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