What’s Vulnerable › Vulnerabilities
CVE-2026-65007: Grav before 1.0.8 Missing Authorization on API Key Generation
- Severity: critical (CVSS 9.6 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-21 · updated 2026-10-24
- Weakness: CWE-862
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
- getgrav grav: before 1.0.8 — fixed in 1.0.8
How to fix
Upgrade to a fixed version: getgrav grav 1.0.8. Check the vendor advisory for mitigations.
References
- https://github.com/getgrav/grav/security/advisories/GHSA-7v74-m76q-8wf3
- https://www.vulncheck.com/advisories/grav-before-missing-authorization-on-api-key-generation
- https://github.com/getgrav/grav/security/advisories/GHSA-7v74-m76q-8wf3
Get alerted when CVE-2026-65007 or the next vulnerability affects your stack