CVE-2026-62232

High

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.

SeverityHigh
CVSS7.4
Exploit probability—
ProductGetgrav/grav
PublishedJul 17, 2026
First seenJul 17, 2026

How to fix

Update
  • getgrav/grav2.0.4 or later

Affected products

ProductAffected versionsFixed in
getgrav/gravPackagistv < 2.0.42.0.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.