# 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)

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L`
- 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.16%, higher than 5% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-19T15:49:40.019Z
- Modified: 2026-09-09T21:13:25.910Z
- Weaknesses: CWE-352
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- getgrav grav-plugin-login: < 3.8.11

## References

- <https://github.com/getgrav/grav/security/advisories/GHSA-4px8-7p53-282r> (exploit)
- <https://github.com/getgrav/grav-plugin-login/commit/5d1b722298cb947d8f434025d121b99152a2c630>
- <https://github.com/getgrav/grav-plugin-login/releases/tag/3.8.11>

## Sources

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

---

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