Skip to main content
← All vulnerabilities
CVE-2026-62232GHSA-7MGC-C7PQ-3RR3

Grav < 2.0.4 2FA Bypass via Secret Regeneration

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.0.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • getgrav grav

    fixed in 2.0.4

  • getgrav/gravPackagist

    fixed in 2.0.4

References 2

GitHub · getgrav/grav

vulncheck.com