{"id":"CVE-2026-100667","published":"2026-09-26T13:23:32Z","modified":"2026-09-28T18:14:51Z","title":"grav-plugin-login 3.8.7 through 3.9.6 Two-Factor Authentication Bypass","vendor":"getgrav","product":"grav","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00307,"percentile":0.24162,"provenance":"source"},"cwes":[{"id":"CWE-304","name":"Missing Critical Step in Authentication"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-636m-8598-45r9","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/grav-plugin-login-3.8.7-through-3.9.6-two-factor-authentication-bypass","tags":["third-party-advisory"]}],"priority":{"score":8.5,"factors":[{"name":"EPSS percentile","points":4.83},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"getgrav","affectedVersions":[{"vendor":"getgrav","product":"grav","versions":[">= 3.8.7, < 3.9.7"]}],"fixedVersions":[{"vendor":"getgrav","product":"grav","versions":["3.9.7"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-28T18:12:38.035267Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-87761","exploited":false,"provenance":"source"}}