Skip to content
OpenAdvisories
High · 7.4 CVE-2026-62232 CVE-2026-62669EUVD-2026-45120GHSA-4m9m-rmh9-2pgf

Grav < 2.0.4 2FA Bypass via Secret Regeneration

Published Jul 17, 2026 · Updated Oct 8, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
getgrav grav < 2.0.4 2.0.4

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist getgrav/grav < 2.0.4 2.0.4 GHSA-7mgc-c7pq-3rr3

References