CVE-2026-65007CWE-862

Grav before 1.0.8 Missing Authorization on API Key Generation

High · published July 21, 2026

CVSS v4.0
8.7
EPSS
0%
Percentile
29.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.7 · HIGH
Vector
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
EPSS
0.00367 · 29.4th percentile
Weakness
CWE-862 · Missing Authorization
Published
2026-07-21T11:39Z
EPSS history
Timeline
  • 21 JUL 11:39Z
    Grav before 1.0.8 Missing Authorization on API Key Generation
    cvelistv5