CVE-2026-62231
JSON

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 packageVersionsReported by
getgrav gravbefore 1.0.6
Not affected: 1.0.6
CVE List

All scores

VulnCheck8.6high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
VulnCheck8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-863

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

Sources

SourceRecordLicence
CVE ListCVE-2026-62231 changed 2026-07-21CVE Terms of Use
NVDCVE-2026-62231 changed 2026-10-24Public domain