Skip to content
CVE PROGRAM SOURCE RECORD9.1 Critical

CVE-2026-62232

Grav < 2.0.4 2FA Bypass via Secret Regeneration

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

getgrav grav

Default version status: unaffected

  • 0 to < 2.0.4affected
  • 2.0.4unaffected
pkg:composer/getgrav/grav

References