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

High 8.7 Published Updated

A low-privileged admin user can forge API keys for other accounts, inheriting their permissions and potentially gaining administrative access.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-64852?

CVE-2026-64852 is a high-severity missing authorization vulnerability in getgrav grav-plugin-api, published on 19 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.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.

Weakness: CWE-862

Which versions are affected by CVE-2026-64852?

How do I fix CVE-2026-64852?

No fix has been published for CVE-2026-64852 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-64852 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-64852 exists.

Sources

Is CVE-2026-64852 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free