Account takeover via 2FA secret regeneration
Published Aug 19, 2026 · Updated Aug 19, 2026
Authentication bypass in Grav Login Plugin before 3.8.11 allows attackers to log in as users by regenerating a pending 2FA secret. During the TOTP challenge, taskRegenerate2FASecret() checks only that the session user exists instead of requiring $user->authorized, then overwrites twofa_secret, saves it, and returns the new secret in a JSON response. Exploitation requires the victim's correct password and enabled TOTP; attackers can compute a valid code from the returned secret, complete authentication, and lock the victim out by replacing the original secret.
Summary
What happened
Authentication bypass in Grav Login Plugin before 3.8.11 allows attackers to log in as users by regenerating a pending 2FA secret. During the TOTP challenge, taskRegenerate2FASecret() checks only that the session user exists instead of requiring $user->authorized, then overwrites twofa_secret, saves it, and returns the new secret in a JSON response. Exploitation requires the victim's correct password and enabled TOTP; attackers can compute a valid code from the returned secret, complete authentication, and lock the victim out by replacing the original secret.
The record
- CVE
- CVE-2026-62669
- Published
- Aug 19, 2026
- Updated
- Aug 19, 2026
- Vendor
- Grav
- Product
- Grav Login Plugin
- Classifications
- CWE-287, T1078
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 19, 2026CVE publishedPublication date reported by the CVE source.
- Aug 19, 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=< 3.8.11
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
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
- GHSA-7mgc-c7pq-3rr3 proof of conceptproof 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