# CVE-2026-66400: Grav Login Plugin before 3.8.13 Insufficient Session Expiration

- Severity: Medium 6.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-29T13:32:00.837Z
- Modified: 2026-10-23T23:10:00.157Z
- Weaknesses: CWE-613
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- getgrav grav: before 3.8.13 (not affected: 3.8.13)

## Every score

- VulnCheck: CVSS:4.0 6.3 Medium `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: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`

## 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

- CVE List: [CVE-2026-66400](https://www.cve.org/CVERecord?id=CVE-2026-66400), CVE Terms of Use, modified 2026-07-29
- NVD: [CVE-2026-66400](https://nvd.nist.gov/vuln/detail/CVE-2026-66400), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-66400 · Whole record: https://cve.day/CVE-2026-66400.json · Rebuilt by cve.day 2026-11-25T22:59:30.435Z
