# CVE-2026-109313: Grav Login plugin authentication bypass in two-factor authentication

Source: https://junglewise.ai/threats/cve-2026-109313-grav-login-plugin-2-7-0-before-3-9-9-contains-an-authentication  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-12. Updated: 2026-10-16  
License: CC BY 4.0 with a link back

CVE-2026-109313 · Severity: high · CVSS 8.1 · Published 2026-10-12

The Grav Login plugin, which handles user authentication for the Grav content management system, contains a flaw in its two-factor authentication implementation. An attacker who knows a user's password can obtain a persistent remember-me cookie before completing the second authentication factor and reuse it to gain full account access without actually completing the two-factor challenge. This allows attackers to bypass multi-factor authentication entirely, granting unauthorized access to protected accounts.

Technologies: [Getgrav Login Plugin](https://junglewise.ai/threats/technologies/getgrav-login-plugin). Vendors: [Getgrav](https://junglewise.ai/threats/vendors/getgrav).

## Quick answers

**Is CVE-2026-109313 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-109313 being exploited in the wild.

**How severe is CVE-2026-109313?** High severity, with a CVSS score of 8.1, published 12 October 2026.

**Which products and versions are affected?** Getgrav Login Plugin 2.7.0 before 3.9.9.

**Is there a fix for CVE-2026-109313?** Yes: fixed in 3.9.9. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-109313 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-109313?** Check whether you run Getgrav Login Plugin at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in 3.9.9

## Technical details

The vulnerability is an improper authentication flaw (CWE-287) in the Grav Login plugin's two-factor authentication flow. When 2FA is enabled, the plugin creates a remember-me cookie after the password step while the login is still awaiting the second factor; the cookie restoration path does not check whether full 2FA authorization has been completed, allowing a restored session to bypass the 2FA challenge. An attacker with knowledge of a valid password can exploit this by intercepting the remember-me cookie after the password step and replaying it to establish a fully authorized session.

## Affected products

- Getgrav Login plugin 2.7.0 before 3.9.9

## Timeline

- 2026-09-23: disclosed: Security advisory published on GitHub
- 2026-10-12: advisory: NVD advisory published

## References

- [https://github.com/getgrav/grav/security/advisories/GHSA-cmg5-qw8p-gxcf](https://github.com/getgrav/grav/security/advisories/GHSA-cmg5-qw8p-gxcf)
- [https://www.vulncheck.com/advisories/grav-login-plugin-2.7.0-before-3.9.9-2fa-bypass-via-remember-me-cookie](https://www.vulncheck.com/advisories/grav-login-plugin-2.7.0-before-3.9.9-2fa-bypass-via-remember-me-cookie)

## Related threats

- [Grav Login plugin authentication bypass in 2FA profile update](https://junglewise.ai/threats/cve-2026-109312-grav-login-plugin-2-7-0-before-3-9-9-contains-an-authentication)
- [Grav Login plugin two-factor authentication bypass](https://junglewise.ai/threats/cve-2026-100667-grav-plugin-login-the-grav-cms-login-plugin-versions-3-8-7-and-3)
