Grav before 2.0.4 contains a two-factor authentication bypass vulnerability in the login plugin where the regenerate2FASecret task checks only user existence, not authorization, during the pending TOTP challenge window. Attackers who know the victim's password can call this task without a CSRF nonce to overwrite the 2FA secret with an attacker-chosen value, compute a valid TOTP code, and complete authentication while reducing 2FA to password-only protection.
References
Configurations
No configuration.
History
No history.
Information
Published : 2026-07-17 02:18
Updated : 2026-07-17 15:44
NVD link : CVE-2026-62232
Mitre link : CVE-2026-62232
CVE.ORG link : CVE-2026-62232
JSON object : View
Products Affected
No product.
CWE
CWE-862
Missing Authorization
