Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-66400: Insufficient Session Expiration in getgrav grav

0
Medium
VulnerabilityCVE-2026-66400cvecve-2026-66400
Published: 07/29/2026 (07/29/2026, 13:32:00 UTC)
Source: CVE Database V5
Vendor/Project: getgrav
Product: grav

Description

Grav Login Plugin versions before 3.8.13 have an insufficient session expiration vulnerability in the TokenStorage.php component. The findTriplet() method incorrectly validates Remember Me token timestamps due to a faulty comparison between an array and a scalar value in PHP. This flaw allows attackers who have captured a Remember Me cookie to authenticate indefinitely, bypassing the intended session timeout.

CVSS v4.0

Score 6.3medium

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/29/2026, 14:26:00 UTC

Technical Analysis

CVE-2026-66400 describes a vulnerability in the Grav Login Plugin where the session expiration mechanism is flawed. Specifically, in versions prior to 3.8.13, the findTriplet() method in TokenStorage.php fails to properly validate the expiration of Remember Me tokens. The expiry check compares an array to a scalar value, which in PHP always evaluates incorrectly, effectively disabling the expiration check. As a result, an attacker possessing a captured Remember Me cookie can maintain indefinite authenticated sessions, circumventing configured timeout policies. No official patch or remediation level has been confirmed as of the published date.

Potential Impact

An attacker with access to a captured Remember Me cookie can maintain indefinite authenticated access to the affected Grav system, bypassing the intended session expiration controls. This undermines session security and could lead to unauthorized persistent access without needing to re-authenticate. The vulnerability has a CVSS 4.0 base score of 6.3 (medium severity), indicating a moderate risk with network attack vector, high attack complexity, and partial impact on confidentiality and integrity.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, administrators should consider invalidating existing Remember Me cookies and disabling the Remember Me feature if feasible. Monitoring for suspicious session activity related to persistent authentication tokens is recommended. Avoid relying solely on the vulnerable session expiration mechanism for security.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-07-26T12:22:34.139Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a6a093c9c2644c7f89a313f

Added to database: 07/29/2026, 14:07:56 UTC

Last enriched: 07/29/2026, 14:26:00 UTC

Last updated: 07/29/2026, 14:30:05 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses