# CVE-2026-100667: grav-plugin-login 3.8.7 through 3.9.6 Two-Factor Authentication Bypass

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2026-09-26T13:23:32.685Z
- Modified: 2026-09-28T19:16:45.757Z
- Weaknesses: CWE-304
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- getgrav grav: from 3.8.7 before 3.9.7 (not affected: 3.9.7)

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `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`
- VulnCheck: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/getgrav/grav/security/advisories/GHSA-636m-8598-45r9> (vendor-advisory)
- <https://www.vulncheck.com/advisories/grav-plugin-login-3.8.7-through-3.9.6-two-factor-authentication-bypass> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-100667](https://www.cve.org/CVERecord?id=CVE-2026-100667), CVE Terms of Use, modified 2026-09-28
- NVD: [CVE-2026-100667](https://nvd.nist.gov/vuln/detail/CVE-2026-100667), Public domain, modified 2026-09-28

---

Page: https://cve.day/CVE-2026-100667 · Whole record: https://cve.day/CVE-2026-100667.json · Rebuilt by cve.day 2026-11-25T22:59:41.217Z
