CVE-2026-64852 PUBLISHED

Grav API Plugin: Missing authorization on API-key generate/revoke lets any admin.login user forge keys for any account

Assigner: GitHub_M
Reserved: 20.07.2026 Published: 19.08.2026 Updated: 19.08.2026

Grav API Plugin is a RESTful API for Grav CMS that provides full headless access to your site's content. Prior to 1.0.8, the Grav API plugin intercepts the apiKeyGenerate and apiKeyRevoke admin tasks in user/plugins/api/api.php and authorizes the caller with only admin.login. A basic panel user can select another account from the route, create a persistent ApiKeyManager credential bound to that target, and inherit the target's API permissions, including api.super or administrative write access when present. This issue is fixed in version 1.0.8.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 8.7

Product Status

Vendor getgrav
Product grav-plugin-api
Versions
  • Version < 1.0.8 is affected

References

Problem Types

  • CWE-862: Missing Authorization CWE