Token recovery via non-constant-time comparison
Published Aug 25, 2026 · Updated Aug 25, 2026
Observable timing discrepancy in Grav Login Plugin before 3.9.1 allows remote attackers to recover reset or activation tokens. The taskReset() method in classes/Controller.php and the activation handler in login.php use an early-exit === comparison on user-supplied tokens instead of hash_equals(). Exploitation requires a known username, repeated unauthenticated submissions, and enough samples to overcome network jitter; a recovered reset token enables password replacement and account access, while an activation token enables activation and, in some configurations, login.
Summary
What happened
Observable timing discrepancy in Grav Login Plugin before 3.9.1 allows remote attackers to recover reset or activation tokens. The taskReset() method in classes/Controller.php and the activation handler in login.php use an early-exit === comparison on user-supplied tokens instead of hash_equals(). Exploitation requires a known username, repeated unauthenticated submissions, and enough samples to overcome network jitter; a recovered reset token enables password replacement and account access, while an activation token enables activation and, in some configurations, login.
The record
- CVE
- CVE-2026-72700
- Published
- Aug 25, 2026
- Updated
- Aug 25, 2026
- Vendor
- GetGrav
- Product
- Grav
- Classifications
- CWE-208, T1110
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 25, 2026CVE publishedPublication date reported by the CVE source.
- Aug 25, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <3.9.1
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- PHP token-comparison timing demonstrationproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo