What’s Vulnerable › Vulnerabilities
CVE-2026-62232: Grav < 2.0.4 2FA Bypass via Secret Regeneration
- Severity: high (CVSS 7.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-17 · updated 2026-10-24
- Weakness: CWE-862
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
- getgrav grav: before 2.0.4 — fixed in 2.0.4
How to fix
Upgrade to a fixed version: getgrav grav 2.0.4. Check the vendor advisory for mitigations.
References
- https://github.com/getgrav/grav/security/advisories/GHSA-7mgc-c7pq-3rr3
- https://www.vulncheck.com/advisories/grav-2fa-bypass-via-secret-regeneration
- https://github.com/getgrav/grav/security/advisories/GHSA-7mgc-c7pq-3rr3
Get alerted when CVE-2026-62232 or the next vulnerability affects your stack