6.3medium
Grav Login Plugin before 3.8.13 Insufficient Session Expiration
- Severity
- 6.3medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.15% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
Grav Login Plugin versions before 3.8.13 contain an insufficient session expiration vulnerability in TokenStorage.php where the findTriplet() method fails to properly validate Remember Me token timestamps. Attackers with a captured Remember Me cookie can authenticate indefinitely instead of the configured timeout period, as the expiry check compares an array to a scalar value which always evaluates incorrectly in PHP.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| getgrav grav | before 3.8.13 Not affected: 3.8.13 | CVE List |
All scores
| VulnCheck | 6.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N |
| VulnCheck | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
Grav Login Plugin versions before 3.8.13 contain an insufficient session expiration vulnerability in TokenStorage.php where the findTriplet() method fails to properly validate Remember Me token timestamps. Attackers with a captured Remember Me cookie can authenticate indefinitely instead of the configured timeout period, as the expiry check compares an array to a scalar value which always evaluates incorrectly in PHP.
NVD (es)
Las versiones del Grav Login Plugin anteriores a la 3.8.13 contienen una vulnerabilidad de expiración de sesión insuficiente en TokenStorage.php, donde el método findTriplet() no valida correctamente las marcas de tiempo del token Recordarme. Los atacantes con una cookie Recordarme capturada pueden autenticarse indefinidamente en lugar del período de tiempo de espera configurado, ya que la comprobación de expiración compara un array con un valor escalar, lo que siempre se evalúa incorrectamente en PHP.
References
| https://github.com/getgrav/grav/security/advisories/GHSA-mj78-8gwc-vxjj | exploit, vendor-advisory | |
| https://www.vulncheck.com/advisories/grav-login-plugin-before-insufficient-session-expiration | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-66400 changed 2026-07-29 | CVE Terms of Use |
| NVD | CVE-2026-66400 changed 2026-10-23 | Public domain |