CVE-2026-62232

Grav < 2.0.4 2FA Bypass via Secret Regeneration

State
Published
Severity
9.1 Critical
Published
Jul 17, 2026
Updated
Oct 8, 2026
Reserved
Jul 13, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
4.09.1 CriticalCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NVulnCheck
3.17.4 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NVulnCheck

Weaknesses

Affected Products

ProductVersions
gravgetgrav
  • before 2.0.4Affected
  • 2.0.4Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.