Skip to main content
EPSS 0.2%top 95%

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

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

Affected software

getgrav

grav

Affected versions
>=0 <3.8.13

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/05/2026, 14:57:46 UTC

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.

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

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