← Back to CVE search

CVE-2026-62666

Grav API Plugin

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 8.8EPSS 0.426%Risk 0.91
View source
Published
2026-08-19 16:18:19
Affected versions
<1.0.6
Type
Library
Last modified
2026-08-21 20:16:38
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H