8.6high
Grav < 1.0.6 API Key Scope Bypass via ApiKeyAuthenticator
- Severity
- 8.6high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.28% (higher than 21% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
The Grav API plugin (getgrav/grav-plugin-api) before 1.0.6 contains an authorization bypass: API keys can be created with a restricted scopes array, but the ApiKeyAuthenticator class never reads or enforces these scopes. It loads and returns the owning user's full account object, so a key created with limited scopes (e.g. read-only) can perform any write, delete, or administrative operation the owning user is authorized for. Fixed in 1.0.6.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| getgrav grav | before 1.0.6 Not affected: 1.0.6 | CVE List |
All scores
| VulnCheck | 8.6high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| VulnCheck | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
The Grav API plugin (getgrav/grav-plugin-api) before 1.0.6 contains an authorization bypass: API keys can be created with a restricted scopes array, but the ApiKeyAuthenticator class never reads or enforces these scopes. It loads and returns the owning user's full account object, so a key created with limited scopes (e.g. read-only) can perform any write, delete, or administrative operation the owning user is authorized for. Fixed in 1.0.6.
NVD (es)
El plugin API de Grav (getgrav/grav-plugin-api) anterior a la versión 1.0.6 contiene un bypass de autorización: Las claves API pueden crearse con un array de ámbitos restringidos, pero la clase ApiKeyAuthenticator nunca lee ni aplica estos ámbitos. Carga y devuelve el objeto de cuenta completo del usuario propietario, por lo que una clave creada con ámbitos limitados (por ejemplo, solo lectura) puede realizar cualquier operación de escritura, eliminación o administrativa para la que el usuario propietario esté autorizado. Corregido en la versión 1.0.6.
References
| https://github.com/getgrav/grav/security/advisories/GHSA-x7hm-jc32-v39j | exploit, vendor-advisory | |
| https://www.vulncheck.com/advisories/grav-api-key-scope-bypass-via-apikeyauthenticator | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-62231 changed 2026-07-21 | CVE Terms of Use |
| NVD | CVE-2026-62231 changed 2026-10-24 | Public domain |