Auth bypass in Getgrav Grav-Plugin-Api
CVE-2026-42843
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.
Vulnerability class: Broken Access Control
EPSS: 0.004 (27.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Getgrav Grav-plugin-api — versions 1.0.0, < 1.0.0-beta.15
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-42843?
- CVE-2026-42843 is a high-severity vulnerability in Getgrav Grav-Plugin-Api, classified under Incorrect Authorization. CVSS score: 8.8/10. Published 2026-05-11.
- How severe is CVE-2026-42843?
- High severity. CVSS v3 base score is 8.8 out of 10.