Severity by source
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Requires prior cookie capture raising AC:H; no privileges needed to replay token; limited confidentiality and integrity impact, no availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
AnalysisAI
Persistent session hijacking in Grav Login Plugin before 3.8.13 allows any attacker holding a captured Remember Me cookie to authenticate indefinitely, bypassing the configured session timeout. The root cause is a PHP type-comparison bug in TokenStorage.php's findTriplet() method: the expiry check compares an array value against a scalar timestamp, a comparison that always evaluates incorrectly in PHP, effectively nullifying the token lifetime enforcement. No active exploitation confirmed (not in CISA KEV), and no public exploit code has been identified at time of analysis, but the flaw is straightforward to weaponize given a captured cookie.
Technical ContextAI
Grav is a flat-file PHP CMS (CPE: cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*) that implements Remember Me authentication via a TokenStorage class in its Login Plugin. The vulnerability is rooted in CWE-613 (Insufficient Session Expiration): the findTriplet() method in TokenStorage.php retrieves a stored token structure and attempts to validate the timestamp against the configured expiry window, but due to PHP's type juggling behavior, comparing an array (the stored token structure) to a scalar (a Unix timestamp or integer) produces an unexpected boolean result that never correctly identifies the token as expired. This means every Remember Me token issued becomes permanently valid regardless of the site's configured session duration. The flaw is in the plugin layer, not Grav core, but the CPE string maps to the parent getgrav:grav product.
RemediationAI
Upgrade the Grav Login Plugin to version 3.8.13 or later, which corrects the array-to-scalar type comparison in TokenStorage.php's findTriplet() method. Vendor details are published at the GitHub advisory GHSA-mj78-8gwc-vxjj. If immediate patching is not possible, a targeted workaround is to disable the Remember Me feature entirely in Grav's Login Plugin configuration, which eliminates the vulnerable code path at the cost of requiring users to re-authenticate on every session. Additionally, invalidating all existing Remember Me tokens by rotating the application's session secret will render any previously captured cookies useless. Sites running over HTTP should treat this as a higher priority given that cookies could be intercepted in transit; enforcing HTTPS with Secure cookie flags limits the exposure surface for token capture.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
Same weakness CWE-613 – Insufficient Session Expiration
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-50324
GHSA-x4cg-fxgx-67gm