CVE-2026-62671: CSRF in grav-plugin-login: anonymous attacker rotates a logged-in user's 2FA (TOTP) secret (no nonce on task=login.regenerate2FASecret)

Published Aug 19, 2026
·
Updated

Grav Login Plugin adds login, basic ACL, and session wide messages to Grav. Prior to 3.8.11, the Grav Login plugin login.regenerate2FASecret task accepts a top-level GET request through the TaskServiceProvider task: URI parameter without requiring a login-form nonce, an Origin check, or a Referer check. Under the default SameSite=Lax session cookie policy, an off-site navigation can invoke taskRegenerate2FASecret() in a logged-in victim's session, overwrite the victim's TOTP secret, and force two-factor re-enrollment. This issue is fixed in version 3.8.11.

Affected Software

1 affected component
Grav grav-plugin-login<3.8.11

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade grav-plugin-login (Grav Login Plugin) to a version that resolves this vulnerability.

    Fixed in 3.8.11

Event History

Aug 19, 2026
CVE Published
via MITRE·03:49 PM
Data Sourced
via MITRE·03:49 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Sites using the Grav Login plugin before 3.8.11 are exposed when a user is logged in and has a session cookie subject to the default SameSite=Lax policy. An anonymous remote attacker can target such a user through an off-site navigation.

2

What does an attacker need to do to exploit it?

The attacker does not need an account or prior privileges. They need to cause a logged-in victim to navigate to a request invoking the login.regenerate2FASecret task; user interaction is required.

3

What is the impact on an affected user?

The request overwrites the victim's TOTP secret and forces two-factor re-enrollment. The stated impact is integrity and availability loss, with no confidentiality impact indicated.

4

How can this be remediated?

Upgrade the Grav Login plugin to version 3.8.11, which fixes the issue. The vulnerable behavior affects versions prior to 3.8.11.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203