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

GHSA-CMG5-QW8P-GXCF

Remember-me restoration can bypass Login plugin two-factor authentication

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:10 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
19 nov 26
23 sept 26
8 oct 26
22 oct 26
5 nov 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-CMG5-QW8P-GXCF 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

When front-end 2FA is enabled, the Login plugin can create a remember-me cookie after the password step while the login is still waiting for the second factor. The cookie restoration path does not enable the 2FA authorization check, so the restored identity can become fully authorized without completing the challenge.

Affected versions

Static review confirms the issue in grav-plugin-login 3.9.8. The affected behavior begins with the 2FA implementation released in 2.7.0. Versions 2.7.0 through 3.9.8 should be treated as affected pending release testing.

Details

Delayed 2FA authorization is considered a successful login event so that the challenge can continue. The remember-me event handler creates a cookie without checking whether that success is delayed. Later, session initialization invokes the remember-me login path without the `twofa` option; the authorization handler only delays the restored login when that option is present.

Impact

An attacker who knows the password of an account protected by front-end 2FA can obtain a persistent cookie before satisfying the second factor and restore it as a fully authorized session. This defeats the account's second-factor boundary.

Patches

A patched release is not yet available. The planned fix defers remember-me issuance until full authorization and requires the 2FA decision during cookie restoration.

Credits

Reported by @redwolf1919.

Versiones

Rangos afectados

Afectada Corregida
getgrav/grav-plugin-login≤ 3.9.8
3.9.8
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Packagistgetgrav/grav-plugin-login
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-cmg5-qw8p-gxcf

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