{"id":"CVE-2026-62669","published":"2026-08-19T15:40:03Z","modified":"2026-08-19T18:18:46Z","title":"Grav Login Plugin: 2FA Bypass via 'login.regenerate2FASecret' - Secret Rotation During Pending Challenge","vendor":"getgrav","product":"grav","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00501,"percentile":0.4384,"provenance":"source"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-7mgc-c7pq-3rr3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/getgrav/grav-plugin-login/commit/5d1b722298cb947d8f434025d121b99152a2c630","tags":["x_refsource_MISC"]},{"url":"https://github.com/getgrav/grav-plugin-login/releases/tag/3.8.11","tags":["x_refsource_MISC"]}],"priority":{"score":13.9,"factors":[{"name":"EPSS percentile","points":8.77},{"name":"CVSS severity","points":5.18}]},"vendorSlug":"getgrav","affectedVersions":[{"vendor":"getgrav","product":"grav","versions":["< 2.0.4"]},{"vendor":"getgrav","product":"grav-plugin-login","versions":["< 3.8.11"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-08-19T18:16:05.801751Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"getgrav/grav","vulnerableRanges":["<2.0.4"],"patched":["2.0.4"],"from":["GHSA-7mgc-c7pq-3rr3"],"provenance":"source"}],"summary":{"text":"The Grav Login plugin (getgrav grav, the login.regenerate2FASecret task) checks only that the pending-session user exists instead of requiring full authorization, allowing a 2FA bypass tied to improper authentication. An attacker with network access who knows a victim's correct password, and who can reach the login flow without any prior authentication or user interaction, can call the secret-regeneration task during the pending TOTP challenge, read the new secret from the response, generate a valid code, and complete login without the victim's second factor.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:31Z"},"euvd":{"id":"EUVD-2026-62540","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-getgrav-grav-cve-2026-42607","parents":[{"from":"CVE-2026-62232","to":"CVE-2026-62669","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-7mgc-c7pq-3rr3","via":"reference","url":"https://github.com/getgrav/grav/security/advisories/GHSA-7mgc-c7pq-3rr3"}]},{"from":"CVE-2026-42613","to":"CVE-2026-62669","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["login.php"],"commits":["https://github.com/getgrav/grav-plugin-login/commit/3d419a0dabd70aed1fd49afcd5919004a4141da1","https://github.com/getgrav/grav-plugin-login/commit/5d1b722298cb947d8f434025d121b99152a2c630"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-61690","published":"2026-08-19","fixed":"2.0.1","kev":false},{"cve":"CVE-2026-61449","published":"2026-07-15","fixed":"2.0.2","kev":false},{"cve":"CVE-2026-61842","published":"2026-08-19","fixed":"2.0.2","kev":false,"link":{"from":"CVE-2026-61842","to":"CVE-2026-62669","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:getgrav/grav","fromFixed":"2.0.2","toFixed":"2.0.4","daysApart":0}]}},{"cve":"CVE-2026-62669","published":"2026-08-19","fixed":"2.0.4","kev":false},{"cve":"CVE-2026-62672","published":"2026-08-19","fixed":"2.0.4","kev":false},{"cve":"CVE-2026-62673","published":"2026-08-19","fixed":"2.0.4","kev":false},{"cve":"CVE-2026-64850","published":"2026-08-19","fixed":"2.0.7","kev":false}],"package":"Packagist:getgrav/grav"}}