Skip to content
OpenAdvisories
Critical · 9.6 CVE-2026-65007 EUVD-2026-46182GHSA-6m96-62fv-f2wh

Grav before 1.0.8 Missing Authorization on API Key Generation

Published Jul 21, 2026 · Updated Jul 23, 2026 · Assigned by VulnCheck

Description

The Grav api plugin (grav-plugin-api) before 1.0.8 fails to properly authorize API key generation and revocation: the plugin intercepts the apiKeyGenerate/apiKeyRevoke admin tasks before the account-management ACL runs and authorizes the caller on only the admin.login permission (the baseline permission held by every panel user). This allows any user with admin.login to mint a persistent API key bound to any account, and the forged key inherits the target account's API permissions. On installs where an API-enabled account holds broader permissions, this enables account impersonation and privilege escalation up to account takeover.

Affected products

VendorProductAffectedFixed
getgrav grav < 1.0.8 1.0.8

References