llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Packagist · getgrav/grav-plugin-api

GHSA-M2RQ-76VX-VV4J

Scalar API access grants can elevate delegated user managers to super-admin

Sin parche publicado
Descargar PNG JSON
CVSS
—
high
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición57 dDesde la divulgación, 23 sept 2026, 2:12 p. m.
Detección56 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Monitoreo
Detectada +1
23 sept 26
18 nov 26
20 nov 26
23 sept 26
8 oct 26
22 oct 26
5 nov 26
20 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-M2RQ-76VX-VV4J divulgada
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

Summary

grav-plugin-api uses different permission semantics when validating an access-map update and when authorizing super-only endpoints. The update guard rejects explicit `admin.super` and `api.super` keys, but does not reject positive scalar parent grants. The shared permission resolver walks parent keys, so a stored positive `admin` or `api` parent can satisfy a later super permission check.

Affected versions

Static review confirms the issue in versions 1.0.0 through 1.0.35. A patched release is not yet available.

Details

A non-super principal with `api.users.write` may edit an account's access map. `accessGrantsSuper()` detects nested and dot-key super flags, while `PermissionResolver::resolve()` intentionally supports parent-key inheritance for ordinary permissions. `requireSuper()` currently reaches the inherited resolver even though `resolveExact()` documents that super permissions must be explicit. Invitation sanitization has the same scalar-parent ambiguity.

Impact

A delegated user manager can grant an account authority accepted by super-only API endpoints, crossing from its assigned role into super-admin-equivalent access. Downstream impact depends on the enabled API endpoints and site configuration.

Patches

A patched release is not yet available. The fix will make super authorization exact at the shared chokepoint and reject or normalize ambiguous scalar parent grants at user and invitation write boundaries. Operators should also review existing account and invitation records for scalar `admin` or `api` grants.

Credits

Reported by @redwolf1919.

Versiones

Rangos afectados

Afectada Corregida
getgrav/grav-plugin-api≤ 1.0.35
1.0.35
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Packagistgetgrav/grav-plugin-api
Sin parche — — —
Explotación

Arsenal público

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

Referencias
Advisoryhttps://github.com/getgrav/grav/security/advisories/GHSA-m2rq-76vx-vv4j

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