PT-2026-71992 · Grav · Grav-Plugin-Api
CVSS v3.1
5.4
Medium
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L |
Name of the Vulnerable Software and Affected Versions
Grav API plugin versions prior to 1.0.13
Description
A scope cap bypass exists in the
DemoController of the Grav API plugin. The private requireSuper() function checks isSuperAdmin() and returns early, skipping the requirePermission() function where the api key scopes restriction is enforced. Consequently, a scoped API key created from a super account can bypass its restrictions when accessing the baseline() and reset() operations, such as the 'POST /api/v1/demo/reset' endpoint. This allows an attacker to capture the demo baseline or force a demo reset, provided that demo mode is configured with writable resources.Recommendations
Update Grav API plugin to version 1.0.13 or later.
Fix
Missing Authorization
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Grav-Plugin-Api