CVE Catalog

CVE-2026-62232

HighCVSS 7.4
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.28%

20th percentile - higher than 20% of all known CVEs

Summary

Grav before version 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.

Risk Assessment

The risk is that an attacker can take over a user account even if 2FA is enabled, leading to unauthorized access to data and system functions.

Recommendation

Immediately update Grav to version 2.0.4 or later, which fixes this vulnerability. Additionally, implement CSRF protections and strengthen authorization checks for sensitive tasks.

Other vulnerabilities in Grav

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS