CVE-2026-62232: Grav < 2.0.4 2FA Bypass via Secret Regeneration
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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-62232?
CVE-2026-62232 has a severity rating of high with a score of 7.4.
How do I fix CVE-2026-62232?
To mitigate CVE-2026-62232, upgrade to Grav version 2.0.4 or later.
What type of vulnerability is CVE-2026-62232?
CVE-2026-62232 is a two-factor authentication bypass vulnerability.
What is the impact of CVE-2026-62232?
CVE-2026-62232 may allow attackers to bypass two-factor authentication if they know the victim's password.
What components of Grav are affected by CVE-2026-62232?
CVE-2026-62232 affects the login plugin in Grav versions prior to 2.0.4.