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

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. 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

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.