CVE-2026-62669 Grav Login Plugin: 2FA Bypass via 'login.regenerate2FASecret' - Secret Rotation During Pending Challenge
HighCVSS 7.4
EPSS 0.50%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- PHP
Description
Grav Login Plugin adds login, basic ACL, and session wide messages to Grav. Prior to 3.8.11, the Grav Login plugin login.regenerate2FASecret task checks only that the pending-session user exists rather than requiring $user->authorized. After submitting a victim's correct password, an attacker can invoke taskRegenerate2FASecret() during the pending TOTP challenge, overwrite twofa_secret, read the replacement secret from the response, calculate a valid code, and complete authentication without the victim's second factor. This issue is fixed in version 3.8.11.
Upgrade path
3 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| getgrav/grav(Packagist) | < 2.0.4 | 2.0.4 | Fixed |
| getgrav grav-plugin-login | = < 3.8.11 | No fix listed | Versions listed |
| getgrav/grav | = < 2.0.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| getgrav/grav | = < 2.0.4 | No fix listed |
| getgrav grav-plugin-login | = < 3.8.11 | No fix listed |
| getgrav/grav(Packagist) | < 2.0.4 | 2.0.4 |
References
- https://github.com/getgrav/grav/security/advisories/GHSA-7mgc-c7pq-3rr3 vendor-advisory
- https://github.com/getgrav/grav-plugin-login/commit/5d1b722298cb947d8f434025d121b99152a2c630 patch
- https://github.com/getgrav/grav-plugin-login/releases/tag/3.8.11
- nvd.nist.gov third-party-advisory
- github.com
- github.com
- ENISA EUVD EUVD-2026-62540 third-party-advisory