Vulnerability · Published Jul 21, 2026 · Assigned by VulnCheck
CVE-2026-65007Grav before 1.0.8 Missing Authorization on API Key Generation
Critical 9.6
In plain English
A critical-severity missing authorization in grav from getgrav. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 26% of all known vulnerabilities).
Official 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 (as reported)
Weakness: CWE-862 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
References
- GitHub Security Advisory (GHSA-7v74-m76q-8wf3) vendor-advisory
- VulnCheck Advisory: Grav before 1.0.8 Missing Authorization on API Key Generation third-party-advisory