{"id":"CVE-2026-100667","aliases":["CVE-2026-100667"],"related":[],"kind":"vulnerability","state":"published","title":"grav-plugin-login 3.8.7 through 3.9.6 Two-Factor Authentication Bypass","summary":"grav-plugin-login (the Grav CMS Login plugin) versions >= 3.8.7 and < 3.9.7 allow the two-factor authentication challenge to be bypassed for content gated by the authenticated() Twig function or the [authenticated] shortcode. On sites with 2FA enabled, Login::isAuthenticated() checked only the session flag indicating that the password step had succeeded, not the flag indicating that login had completed, so a session sitting at the 2FA code prompt was treated as fully authenticated. An attacker who knows a member's password but cannot answer that member's second factor can therefore read member-only content rendered by the no-argument authenticated() or group authenticated(null, 'group') forms and by [authenticated]; the inverse [guest] shortcode is likewise evaluated too early. Impact is limited to disclosure of that content: the attacker does not obtain a completed session, cannot access pages protected by an access: rule, and cannot act as the user. The authenticated('some.permission') form, which goes through UserObject::authorize(), is not affected. Fixed in grav-plugin-login 3.9.7.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"grav-plugin-login (the Grav CMS Login plugin) versions >= 3.8.7 and < 3.9.7 allow the two-factor authentication challenge to be bypassed for content gated by the authenticated() Twig function or the [authenticated] shortcode. On sites with 2FA enabled, Login::isAuthenticated() checked only the session flag indicating that the password step had succeeded, not the flag indicating that login had completed, so a session sitting at the 2FA code prompt was treated as fully authenticated. An attacker who knows a member's password but cannot answer that member's second factor can therefore read member-only content rendered by the no-argument authenticated() or group authenticated(null, 'group') forms and by [authenticated]; the inverse [guest] shortcode is likewise evaluated too early. Impact is limited to disclosure of that content: the attacker does not obtain a completed session, cannot access pages protected by an access: rule, and cannot act as the user. The authenticated('some.permission') form, which goes through UserObject::authorize(), is not affected. Fixed in grav-plugin-login 3.9.7.","source":"cvelist"}],"published":"2026-09-26T13:23:32.685Z","modified":"2026-09-28T19:16:45.757Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-304"],"affected":[{"ranges":[{"type":"semver","introduced":"3.8.7","fixed":"3.9.7","status":"affected"},{"type":"semver","version":"3.9.7","status":"unaffected"}],"vendor":"getgrav","product":"grav","source":"cvelist"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-636m-8598-45r9","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/grav-plugin-login-3.8.7-through-3.9.6-two-factor-authentication-bypass","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["geoffrey-diederichs"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-09-28T18:12:38.035Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-100667","url":"https://www.cve.org/CVERecord?id=CVE-2026-100667","licence":"CVE Terms of Use","modified":"2026-09-28T18:14:51.902Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-100667","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100667","licence":"Public domain","modified":"2026-09-28T19:16:45.757Z"}],"updatedAt":"2026-11-25T22:59:41.217Z","epss":{"score":0.00307,"percentile":0.25391,"date":"2026-12-01T12:00:22.000Z"}}