llamaCVEVulnerability Intelligence
/
grav-plugin-api

CVE-2026-72825

Grav API Plugin before 1.0.13 API-key scope cap bypass via ReportsController

Specific setups onlyParche disponiblemissing authorization
Descargar PNG JSON
CVSS 4.0
7.2
Alta
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N Fuente: CNA
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión1.0.13
Exposición97 dDesde la divulgación, 14 ago 2026, 6:35 a. m.
Detección75 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +1
Modificada
Explotación
Remediación
Monitoreo
Detectada +1
Fuente: OSV +1
14 ago 26
29 oct 26
18 nov 26
20 nov 26
14 ago 26
7 sept 26
2 oct 26
26 oct 26
20 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-72825 divulgada · CVSS 7.2 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Monitoreo Detectada Ingresó al índice
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen

The getgrav/grav-plugin-api plugin before 1.0.13 contains an API-key scope cap bypass in the POST /reports/twig-content/allowlist endpoint (ReportsController). The endpoint enforces requirePermission('api.config.write') followed by a bare isSuperAdmin() check instead of requireSuper(). Because isSuperAdmin() reads access.api.super directly and never consults api_key_scopes, a least-privilege API key scoped to api.config.write minted on a super account passes the gate, allowing an attacker to append attacker-chosen tokens to the security.twig_sandbox allowlist (persisted to user/config/security.yaml). Widening the allowlist turns any subsequent Twig-in-content render into an SSTI/RCE sink.

Affects getgrav grav-plugin-api before 1.0.13, where a least-privilege API key scoped to api.config.write minted on a super account gets past the scope cap. Fixed in 1.0.13.

¿Qué significa?The plugin's API-key scope cap can be bypassed. A least-privilege key scoped to api.config.write, minted on a super account, passes the gate and can widen the Twig sandbox allowlist. After that, any Twig-in-content render becomes a server-side template injection and remote code execution sink.
¿Quién está afectado?The getgrav/grav-plugin-api plugin is affected in all versions before 1.0.13. The reported setup involves API keys scoped to api.config.write that are minted on a super account. To check, look up the installed plugin version in the Grav plugin directory or with composer show getgrav/grav-plugin-api.
¿Qué hacer?Upgrade grav-plugin-api to 1.0.13 or later, which is the fixed version listed for this vulnerability.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
grav-plugin-api before 1.0.13 is installed“The getgrav/grav-plugin-api plugin before 1.0.13 contains an API-key scope cap bypass”
02
A least-privilege API key scoped to api.config.write is minted on a super account“a least-privilege API key scoped to api.config.write minted on a super account passes the gate”
¿Quién debe revisar?Teams running the getgrav grav-plugin-api Grav plugin before 1.0.13, especially those that mint API keys on super-admin accounts.
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:N
NingunoPresentes
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:L
AltoBajoNinguno
Integridad (sistema)VI:H
AltoBajoNinguno
Disponib. (sistema)VA:L
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
getgrav/grav-plugin-api≤ 1.0.12
grav-plugin-api< 1.0.13
1.0.12
1.0.13
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
grav-plugin-api
Corregida 1.0.13 — —
Versiones corregidas1.0.13
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/getgrav/grav/security/advisories/GHSA-v5ph-7v92-wqm6
Otrahttps://www.vulncheck.com/advisories/grav-before-api-key-scope-cap-bypass-via-reportscontroller

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.