Vulnerability Description
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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/getgrav/grav-plugin-api/commit/dfcc947f0d6758772caac290c68fe8
- https://github.com/getgrav/grav-plugin-api/releases/tag/1.0.6
- https://github.com/getgrav/grav/security/advisories/GHSA-8gg4-rvvv-cq96
FAQ
What is CVE-2026-62666?
CVE-2026-62666 is a vulnerability with a CVSS score of 8.8 (HIGH). 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(...
How severe is CVE-2026-62666?
CVE-2026-62666 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-62666?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.