A high-severity vulnerability tracked as CVE-2026-62232 allows attackers to bypass two-factor authentication in Grav versions earlier than 2.0.4. The flaw is in the login plugin's regenerate2FASecret task, which during the pending TOTP challenge checks only whether a user exists and fails to verify authorization, enabling an attacker who already knows a victim's password to reset the victim's 2FA secret and complete login with an attacker-generated code.
The issue also lacks a required CSRF nonce on the secret-regeneration action, further weakening protections during authentication. Security advisories say the bug effectively reduces Grav's 2FA from password-plus-TOTP to password-only security for affected installations; the weakness is classified as CWE-862 and has been fixed in Grav 2.0.4.

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
1 event from the most recent confirmed update back to the earliest known activity.
A two-factor authentication bypass affecting Grav versions before 2.0.4 was fixed in Grav 2.0.4. The flaw in the login plugin's regenerate2FASecret task allowed an attacker with a victim's password to replace the victim's 2FA secret and complete login.
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
2 references tracked. Mallory keeps watching after this page renders.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.