CVE-2026-65007
CRITICAL
9.6
CVSS 3.1
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.
Metadata
Severity & Metrics
9.6
CRITICAL CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| getgrav | grav | — | 0 < 1.0.8, 1.0.8 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-862 | cna | Missing Authorization |
CVSS scores (2)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 9.6 | CRITICAL | 3.1 | cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N |
| 8.7 | HIGH | 4.0 | cna | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
References (2)
- GitHub Security Advisory (GHSA-7v74-m76q-8wf3) https://github.com/getgrav/grav/security/advisories/GHSA-7v74-m76q-8wf3
- VulnCheck Advisory: Grav before 1.0.8 Missing Authorization on API Key Generation https://www.vulncheck.com/advisories/grav-before-missing-authorization-on-api-key-generation