CVE-2026-42843
Analyzed
Analyzed - Analysis Complete
Privilege Escalation in Grav API Plugin
Publication date: 2026-05-11
Last updated on: 2026-05-27
Assigner: GitHub, Inc.
Description
Description
Grav API Plugin is a RESTful API for Grav CMS that provides full headless access to your site's content, media, configuration, users, and system management. Prior to 1.0.0-beta.15, an insecure direct object reference and logic flaw in the Grav API plugin (UsersController::update) allows any authenticated user with basic API access (api.access) to modify their own permission configuration. An attacker can exploit this to escalate their privileges to Super Administrator (admin.super and api.super), leading to full system compromise and potential RCE. This vulnerability is fixed in 1.0.0-beta.15.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| getgrav | grav-plugin-api | 1.0.0 |
| getgrav | grav-plugin-api | 1.0.0 |
| getgrav | grav-plugin-api | 1.0.0 |
| getgrav | grav-plugin-api | 1.0.0 |
| getgrav | grav-plugin-api | 1.0.0 |
| getgrav | grav-plugin-api | 1.0.0 |
| getgrav | grav-plugin-api | 1.0.0 |
| getgrav | grav-plugin-api | 1.0.0 |
| getgrav | grav-plugin-api | 1.0.0 |
| getgrav | grav-plugin-api | 1.0.0 |
| getgrav | grav-plugin-api | 1.0.0 |
| getgrav | grav-plugin-api | 1.0.0 |
| getgrav | grav-plugin-api | 1.0.0 |
| getgrav | grav-plugin-api | 1.0.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-863 | The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. |