Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessEnumerate valid Grav username
-
DeliveryTrigger password reset to open taskReset endpoint
-
ExploitSend high-volume timed token candidates
-
ExecutionMeasure per-byte response timing differences
-
PersistStatistically recover valid token
-
ImpactAuthenticate as target user and take over account
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V6 - Authentication Timing attack prevention
|
| Exploitation Conditions | A valid username on the target Grav installation must be known or guessable (usernames may be discoverable through registration flows or public author pages). The password reset or account activation feature must be enabled and reachable - this is the default configuration in standard Grav deployments. The taskReset endpoint must accept repeated unauthenticated POST submissions without rate limiting, which is the out-of-box Grav state. Critically, the attacker must achieve sufficiently low and stable network round-trip times to resolve sub-millisecond timing differences between token comparisons; this requires either a low-latency path to the target (co-located infrastructure, same hosting region, or LAN access) or a very high request volume with statistical aggregation. Remote internet-path jitter is the primary practical constraint limiting exploitation beyond the raw CVSS assessment. No privileged access, user interaction, or non-default application feature is required beyond accessible password reset functionality. |
| Impact | The CVSS 4.0 base score of 8.7 (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H) represents an upper-bound theoretical assessment; the vendor's own characterization of practical exploitability as low, combined with the inherent noise of network-layer timing measurements, substantially reduces realistic risk below what the score implies. The absence of rate limiting is the most consequential amplifier - even a mid-sized municipal IT team in malbork running a public-facing Grav instance would be exposed to sustained high-volume enumeration attempts that a WAF or server-level rate limit could easily block. No EPSS data was provided in the intelligence package, and the vulnerability is absent from CISA KEV, confirming no observed active exploitation. SSVC routing for most operators with no specific threat intelligence would reach 'scheduled' remediation rather than emergency response. The primary real-world risk vector is an attacker with a stable, low-latency network path to the target - co-located hosting environments or cloud instances near the target are the realistic threat scenarios. |
| Exploit ScenarioDerived | An attacker who knows a valid Grav username initiates a password reset for that account, gaining access to the unauthenticated taskReset submission endpoint. The attacker then dispatches thousands of HTTP POST requests with candidate token values, timing the server's === comparison responses byte-by-byte to progressively narrow the token space through the timing oracle; because no rate limiting is enforced, the enumeration volume needed is unconstrained. No publicly available proof-of-concept code demonstrating this end-to-end attack chain has been identified. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 25, 2026
Password reset and account activation token comparison in Grav Login Plugin before 3.9.1 uses PHP's non-constant-time === operator instead of hash_equals(), exposing a CWE-208 timing oracle in both taskReset() (classes/Controller.php) and the activation handler (login.php). Combined with the absence of rate limiting on the token-submission endpoint, an unauthenticated network attacker can submit high-volume repeated token guesses against a known username and statistically recover a valid reset token via timing discrepancy. No public exploit code has been identified and the vulnerability is not listed in CISA KEV; the vendor itself characterizes practical exploitability as low, and no end-to-end network exploitation has been demonstrated.
RemediationAI
Upgrade the grav-plugin-login Composer package to version 3.9.1 or later, which replaces the === token comparison with hash_equals() in both the taskReset() method and the account activation handler; the vendor advisory at https://github.com/getgrav/grav/security/advisories/GHSA-x239-6jqx-5hjh provides upgrade guidance. If immediate patching is not feasible, apply rate limiting to the password reset endpoint at the web server or WAF layer - for example, restricting POST requests to the /task:reset path to five requests per minute per IP address - to deny the request volume a timing attack requires; note this mitigates but does not eliminate the underlying timing oracle. Disabling the public-facing password reset feature entirely (if administrative manual resets are operationally acceptable) eliminates the attack surface completely. For internet-exposed deployments, blocking the reset endpoint by IP allowlist is a strong interim control with no side effects for installations where users access Grav from known addresses.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-208 (Observable Timing Discrepancy) arises when an application leaks secret values through measurable differences in operation duration. In PHP, the === operator performs short-circuit string comparison and returns immediately on the first mismatched byte, making comparison time proportional to the length of the matching prefix - a classical timing oracle for fixed-length tokens. PHP's hash_equals(), available since PHP 5.6, performs a constant-time comparison immune to this side-channel. Grav Login Plugin is a Composer package that drives authentication, password reset, and account activation for the Grav flat-file CMS; the CPE cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:* covers all affected installations. The vulnerability is compounded because the taskReset endpoint imposes no rate limit, allowing the attacker to generate the request volume that a network timing attack requires. Real-world exploitation is constrained by network jitter, which attenuates sub-millisecond timing signals over public internet paths.
Know when Grav gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
AC:H because a reliable network timing oracle requires controlled low-jitter conditions not present on typical internet paths; PR:N for the unauthenticated reset endpoint; no integrity or availability impact applies.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
The getgrav/grav-plugin-login Composer plugin before 3.9.1 (used by Grav) compares password reset and account activation tokens using a non-constant-time === string comparison instead of hash_equals() in classes/Controller.php (taskReset()) and login.php (activation handler). Because the token-submission endpoint (taskReset) also lacks rate limiting, an attacker could in principle send repeated token guesses against a known username and use the timing differences to attempt to recover a valid token, though the vendor rates the practical exploitability as low and no end-to-end network exploit has been demonstrated.
Executive ViewAI
Grav Login Plugin prior to version 3.9.1 contains a timing-based authentication vulnerability enabling attackers to statistically recover password reset tokens through high-volume guessing attacks, potentially leading to widespread account takeover. No public exploit identified at time of analysis and the vendor characterizes practical exploitability as low; however, the HIGH CVSS rating (8.7) reflects the serious business risk of user account compromise for organizations deploying this plugin. Immediate action is needed to deploy compensating controls and prepare for upgrade to the patched version.
No vendor-released patch identified at time of analysis. Implement rate limiting on password reset and account activation token submission endpoints; deploy CAPTCHA or progressive account lockout mechanisms to block repeated failed token attempts; establish monitoring and alerting for timing-oracle attack signatures (high-volume requests from individual IP addresses targeting known usernames); verify custom authentication implementations use constant-time comparison functions for all token and password validation; optionally disable self-service password reset functionality for sensitive applications and route all requests through administrative channels with additional verification requirements.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Related Vulnerabilities in Grav Login Plugin Authorization and Timing Flaws
View all 3Server-side template injection (SSTI) in Grav (getgrav/grav) prior to 1.8.0-beta.27 allows an authenticated attacker hol
Broken access control in Grav CMS (CWE-285) before 1.8.0-beta.27 lets an authenticated editor-level user escalate their
A Remote Code Execution (RCE) vulnerability in Grav CMS v1.7.48 allows an authenticated admin to upload a malicious plug
Grav is a file-based Web platform. Rated critical severity (CVSS 9.9), this vulnerability is remotely exploitable, low a
GravCMS 1.10.7 allows unauthenticated remote attackers to write arbitrary YAML configuration files, leading to full serv
Remote code execution in Grav CMS 2.0.4 (fixed in 2.0.7) lets an authenticated user holding the admin.pages or api.pages
Remote code execution in Grav CMS before 2.0.15 allows attackers holding page-edit or blueprint-config privileges to wri
Vertical privilege escalation in Grav CMS before 2.0.14 lets a delegated administrator holding only the admin.users perm
Stored cross-site scripting in Grav CMS before 2.0.15 lets authenticated editors smuggle JavaScript event handlers past
Server-side request forgery (SSRF) in Grav CMS versions prior to 1.7.49.5 allows remote authenticated attackers to make
Grav is a file-based Web platform. Prior to 1.8.0-beta.27, Grav CMS is vulnerable to a Server-Side Template Injection (S
Remote code execution in Grav CMS before 2.0.13 allows authenticated low-privilege users to plant and execute arbitrary
EUVD-2026-65214
GHSA-92vc-67q9-382j
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB