{"id":"CVE-2026-62669","summary":"Grav Login Plugin: 2FA Bypass via 'login.regenerate2FASecret' - Secret Rotation During Pending Challenge","details":"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-\u003eauthorized. 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.","aliases":["CVE-2026-62232","GHSA-7mgc-c7pq-3rr3"],"modified":"2026-08-21T03:46:54.349749334Z","published":"2026-08-19T15:40:03.252Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-287"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62669.json"},"references":[{"type":"WEB","url":"https://github.com/getgrav/grav-plugin-login/releases/tag/3.8.11"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62669.json"},{"type":"ADVISORY","url":"https://github.com/getgrav/grav/security/advisories/GHSA-7mgc-c7pq-3rr3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62669"},{"type":"FIX","url":"https://github.com/getgrav/grav-plugin-login/commit/5d1b722298cb947d8f434025d121b99152a2c630"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/getgrav/grav","events":[{"introduced":"0"},{"fixed":"c22d77d2ec2a9202d9f005f4ceda9c1483921286"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"2.0.4"}],"source":"AFFECTED_FIELD"}},{"type":"GIT","repo":"https://github.com/getgrav/grav-plugin-login","events":[{"introduced":"0"},{"fixed":"5d1b722298cb947d8f434025d121b99152a2c630"},{"fixed":"0166e334966bf180d735fd2bb2e4b76fb7d63030"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"3.8.11"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["2.0.3","2.0.2","2.0.1","1.7.53","1.7.52","1.7.51","1.7.39.1","1.7.39","1.7.38","1.7.37.1","1.7.37","1.7.36","1.7.35","1.7.34","1.7.33","1.7.32","1.7.31","1.7.30","1.7.29.1","1.7.29","1.7.28","1.7.27.1","1.7.27","1.7.26.1","1.7.26","1.7.25","1.7.24","1.7.23","1.7.22","1.7.21","1.7.20","1.7.19","1.7.18","1.7.17","1.7.16","1.7.15","1.7.14","1.7.13","1.7.12","1.7.10","1.7.9","1.7.8","1.7.7","1.7.6","1.7.5","1.7.4","1.7.3","1.7.1","1.7.0","1.7.0-rc.20","1.7.0-rc.19","1.7.0-rc.18","1.7.0-rc.17","1.7.0-rc.15","1.7.0-rc.14","1.7.0-rc.13","1.7.0-rc.12","1.7.0-rc.10","1.7.0-rc.9","1.7.0-rc.8","1.7.0-rc.7","1.7.0-rc.6","1.7.0-rc.5","1.7.0-rc.4","1.7.0-rc.3","1.7.0-rc.2","1.7.0-rc.1","1.7.0-beta.10","1.7.0-beta.9","1.7.0-beta.8","1.7.0-beta.7","1.7.0-beta.6","1.7.0-beta.5","1.7.0-beta.4","1.7.0-beta.3","1.7.0-beta.2","1.7.0-beta.1","1.6.0-rc.4","1.6.0-rc.3","1.6.0-rc.2","1.6.0-rc.1","1.6.0-beta.8","1.6.0-beta.7","1.6.0-beta.6","1.6.0-beta.5","1.6.0-beta.2","1.6.0-beta.1","1.5.0-rc.1","1.5.0-beta.2","1.5.0-beta.1","1.3.0-rc.5","1.3.0-rc.4","1.3.0-rc.3","1.3.0-rc.1","1.2.0-rc.3","1.2.0-rc.2","1.2.0-rc.1","1.1.9-rc.3","1.1.9-rc.2","1.1.9-rc.1","1.1.0-rc.3","1.1.0-rc.2","1.1.0-rc.1","1.1.0-beta.5","1.1.0-beta.4","1.1.0-beta.3","1.1.0-beta.2","1.1.0-beta.1","0.9.19","0.9.18","0.9.17","0.9.16","0.9.15","0.9.14","0.9.13","0.9.12","0.9.11","0.9.10","0.9.9","0.9.8","0.9.7","0.9.6","0.9.5","0.9.4","0.9.3","0.9.2","0.9.0","0.8.0","3.8.10","3.8.9","3.8.8","3.8.7","3.8.6","3.8.5","3.8.4","3.8.3","3.8.2","3.8.1","3.8.0","3.7.9","3.7.8.1","3.7.8","3.7.7","3.7.6","3.7.5","3.7.4","3.7.3","3.7.2","3.7.1","3.7.0","3.6.3","3.6.2","3.6.1","3.6.0","3.5.3","3.5.2","3.5.1","3.5.0","3.4.4","3.4.3","3.4.2","3.4.1","3.4.0","3.3.8","3.3.7","3.3.6","3.3.5","3.3.4","3.3.3","3.3.2","3.3.1","3.3.0","3.2.0","3.1.0","3.0.6","3.0.5","3.0.4","3.0.3","3.0.2","3.0.1","3.0.0","2.8.4","3.0.0-rc.4","2.8.3","3.0.0-rc.3","3.0.0-rc.2","3.0.0-rc.1","3.0.0-beta.1","2.8.2","2.8.1","2.8.0","2.7.3","2.7.2","2.7.1","2.7.0","2.6.3","2.6.2","2.6.1","2.6.0","2.5.0","2.4.3","2.4.2","2.4.1","2.4.0","2.3.2","2.3.1","2.3.0","2.2.1","2.2.0","2.1.2","2.2.0-rc.5","2.2.0-rc.3","2.2.0-rc.2","2.2.0-rc.1","2.1.1","2.1.0","2.1.0-rc.2","2.1.0-rc.1","2.0.0","1.3.1","2.0.0-rc.2","2.0.0-rc.1","2.0.0-beta.3","2.0.0-beta.1","1.3.0","1.2.1","1.2.0","1.1.0","1.0.1","1.0.0","0.3.3","0.3.2","0.3.1","0.3.0","0.2.0","0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62669.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}