CVE-2026-42843 grav-plugin-api: Grav API Privilege Escalation to Super Admin
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- PHP
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| getgrav grav-plugin-api(Packagist) | < 1.0.0-beta.15 | 1.0.0-beta.15 | Fixed |
| getgrav grav-plugin-api | = 1.0.0-beta1; = 1.0.0-beta2; = 1.0.0-beta3; = 1.0.0-beta4 +11 more | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| getgrav grav-plugin-api(Packagist) | < 1.0.0-beta.15 | 1.0.0-beta.15 |
| getgrav grav-plugin-api | = < 1.0.0-beta.15 | No fix listed |
| getgrav grav-plugin-api | = 1.0.0-beta1 | No fix listed |
| getgrav grav-plugin-api | = 1.0.0-beta10 | No fix listed |
| getgrav grav-plugin-api | = 1.0.0-beta11 | No fix listed |
| getgrav grav-plugin-api | = 1.0.0-beta12 | No fix listed |
| getgrav grav-plugin-api | = 1.0.0-beta13 | No fix listed |
| getgrav grav-plugin-api | = 1.0.0-beta14 | No fix listed |
| getgrav grav-plugin-api | = 1.0.0-beta2 | No fix listed |
| getgrav grav-plugin-api | = 1.0.0-beta3 | No fix listed |
| getgrav grav-plugin-api | = 1.0.0-beta4 | No fix listed |
| getgrav grav-plugin-api | = 1.0.0-beta5 | No fix listed |
| getgrav grav-plugin-api | = 1.0.0-beta6 | No fix listed |
| getgrav grav-plugin-api | = 1.0.0-beta7 | No fix listed |
| getgrav grav-plugin-api | = 1.0.0-beta8 | No fix listed |
| getgrav grav-plugin-api | = 1.0.0-beta9 | No fix listed |
References
- https://github.com/getgrav/grav/security/advisories/GHSA-r945-h4vm-h736 exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com product
- github.com