CVE-2026-42843
HIGH 8.8CVSS 3.1Grav API Privilege Escalation to Super Admin
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.
- Published
- 11 May 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-863
- Also known as
- GHSA-r945-h4vm-h736
- Sources
- NVDJSONOSV GHSA-r945-h4vm-h736JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | getgrav | grav-plugin-apicpe:2.3:a:getgrav:grav-plugin-api:1.0.0:beta1:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | getgrav | grav-plugin-apicpe:2.3:a:getgrav:grav-plugin-api:1.0.0:beta10:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | getgrav | grav-plugin-apicpe:2.3:a:getgrav:grav-plugin-api:1.0.0:beta11:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | getgrav | grav-plugin-apicpe:2.3:a:getgrav:grav-plugin-api:1.0.0:beta12:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | getgrav | grav-plugin-apicpe:2.3:a:getgrav:grav-plugin-api:1.0.0:beta13:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | getgrav | grav-plugin-apicpe:2.3:a:getgrav:grav-plugin-api:1.0.0:beta14:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | getgrav | grav-plugin-apicpe:2.3:a:getgrav:grav-plugin-api:1.0.0:beta2:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | getgrav | grav-plugin-apicpe:2.3:a:getgrav:grav-plugin-api:1.0.0:beta3:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | getgrav | grav-plugin-apicpe:2.3:a:getgrav:grav-plugin-api:1.0.0:beta4:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | getgrav | grav-plugin-apicpe:2.3:a:getgrav:grav-plugin-api:1.0.0:beta5:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | getgrav | grav-plugin-apicpe:2.3:a:getgrav:grav-plugin-api:1.0.0:beta6:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | getgrav | grav-plugin-apicpe:2.3:a:getgrav:grav-plugin-api:1.0.0:beta7:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | getgrav | grav-plugin-apicpe:2.3:a:getgrav:grav-plugin-api:1.0.0:beta8:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | getgrav | grav-plugin-apicpe:2.3:a:getgrav:grav-plugin-api:1.0.0:beta9:*:*:*:*:*:* |
= 1.0.0 | |
| OSV | Packagist | getgrav/grav-plugin-api | < 1.0.0-beta.15 | 1.0.0-beta.15 |
References
- https://github.com/getgrav/grav/security/advisories/GHSA-r945-h4vm-h736 · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-42843 · ADVISORY
- https://github.com/getgrav/grav-plugin-api/commit/26f529c7d438c73343e82311fb095caeaf1a6116 · WEB
- https://github.com/getgrav/grav · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 11 May 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 5 May 2026)