What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: getgrav grav 3.8.13. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-66400 or the next vulnerability affects your stack