CVE-2026-66400: Insufficient Session Expiration in getgrav grav
Grav Login Plugin versions before 3.8.13 have a vulnerability in session expiration due to improper validation of Remember Me token timestamps. This flaw allows attackers with a captured Remember Me cookie to maintain authentication indefinitely, bypassing the intended timeout. The issue arises because the expiry check compares an array to a scalar value in PHP, causing the check to always fail. The vulnerability has a medium severity rating with a CVSS score of 6.3.
AI Analysis
Technical Summary
The Grav Login Plugin contains an insufficient session expiration vulnerability in the TokenStorage.php file. Specifically, the findTriplet() method does not correctly validate the timestamps of Remember Me tokens. This is due to a logic error where an array is compared to a scalar value in PHP, which always evaluates incorrectly, allowing an attacker who has obtained a valid Remember Me cookie to authenticate indefinitely instead of being limited by the configured session timeout.
Potential Impact
An attacker who captures a valid Remember Me cookie can bypass the intended session expiration controls and maintain persistent authentication indefinitely. This undermines session management security and could allow unauthorized access to user accounts without re-authentication for the duration of the cookie's validity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix or update is available, users should consider invalidating existing Remember Me cookies and monitoring for suspicious authentication activity related to persistent sessions.
CVE-2026-66400: Insufficient Session Expiration in getgrav grav
Description
Grav Login Plugin versions before 3.8.13 have a vulnerability in session expiration due to improper validation of Remember Me token timestamps. This flaw allows attackers with a captured Remember Me cookie to maintain authentication indefinitely, bypassing the intended timeout. The issue arises because the expiry check compares an array to a scalar value in PHP, causing the check to always fail. The vulnerability has a medium severity rating with a CVSS score of 6.3.
CVSS v4.0
Score 6.3medium
Affected software
getgrav
grav
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Grav Login Plugin contains an insufficient session expiration vulnerability in the TokenStorage.php file. Specifically, the findTriplet() method does not correctly validate the timestamps of Remember Me tokens. This is due to a logic error where an array is compared to a scalar value in PHP, which always evaluates incorrectly, allowing an attacker who has obtained a valid Remember Me cookie to authenticate indefinitely instead of being limited by the configured session timeout.
Potential Impact
An attacker who captures a valid Remember Me cookie can bypass the intended session expiration controls and maintain persistent authentication indefinitely. This undermines session management security and could allow unauthorized access to user accounts without re-authentication for the duration of the cookie's validity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix or update is available, users should consider invalidating existing Remember Me cookies and monitoring for suspicious authentication activity related to persistent sessions.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-07-26T12:22:34.139Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a6a093c9c2644c7f89a313f
Added to database: 07/29/2026, 14:07:56 UTC
Last enriched: 08/05/2026, 14:57:46 UTC
Last updated: 09/11/2026, 22:06:34 UTC
Views: 51
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.