Auth bypass in Getgrav Grav-Plugin-Api
CVE-2026-62666
Grav API Plugin is a RESTful API for Grav CMS that provides full headless access to your site's content. Prior to 1.0.6, Grav API plugin UsersController::createApiKey(), generate2fa(), and disable2fa() omit the accessGrantsSuper() target check used by sibling user mutation endpoints. A non-super account with api.users.write can mint an API key bound to an access.api.super target through requireApiKeyPermission(), obtain the target's full privileges because key scopes are not enforced, and create persistent super-administrator access; the same missing check also permits rotating or disabling the target's two-factor authentication. This issue is fixed in version 1.0.6.
Vulnerability class: IDOR (Insecure Direct Object Reference)
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.006 (48.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 49th percentile — 48.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.006 · change: +0.002
Affected products
- Getgrav Grav-Plugin-Api — versions < 1.0.6
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-62666?
- CVE-2026-62666 is a high-severity vulnerability in Getgrav Grav-Plugin-Api, classified under Authorization Bypass Through User-Controlled Key. CVSS score: 8.8/10. Published 2026-08-19.
- How severe is CVE-2026-62666?
- High severity. CVSS v3 base score is 8.8 out of 10.