CVE-2026-66400
JSON

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

All scores

VulnCheck6.3medium CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
VulnCheck4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Classification

CWE-613

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

Sources

SourceRecordLicence
CVE ListCVE-2026-66400 changed 2026-07-29CVE Terms of Use
NVDCVE-2026-66400 changed 2026-10-23Public domain