Auth bypass in Getgrav Grav

CVE-2026-62232

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 class: Broken Access Control

EPSS: 0.005 (37.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.4 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-62232?
CVE-2026-62232 is a high-severity vulnerability in Getgrav Grav, classified under Missing Authorization. CVSS score: 7.4/10. Published 2026-07-17.
How severe is CVE-2026-62232?
High severity. CVSS v3 base score is 7.4 out of 10.