CVE-2026-62232 Grav < 2.0.4 2FA Bypass via Secret Regeneration
CriticalCVSS 9.1
EPSS 0.35%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- PHP
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| getgrav/grav | < 2.0.4 | 2.0.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| getgrav/grav | < 2.0.4 | 2.0.4 |
References
- GitHub Security Advisory (GHSA-7mgc-c7pq-3rr3) exploit vendor-advisory
- VulnCheck Advisory: Grav < 2.0.4 2FA Bypass via Secret Regeneration third-party-advisory
- ENISA EUVD EUVD-2026-45120 third-party-advisory