# CVE-2026-62236: grav-plugin-login < 3.8.11 CSRF via regenerate2FASecret

- Severity: Low 2.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:L/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.11%, higher than 1% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-17T00:07:11.106Z
- Modified: 2026-10-24T20:10:00.137Z
- Weaknesses: CWE-352
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

grav-plugin-login before 3.8.11 contains a cross-site request forgery (CSRF) vulnerability in the login.regenerate2FASecret frontend task, which regenerates and persists a new TOTP secret for the authenticated session user without any anti-CSRF nonce or Origin/Referer check. Because Grav core dispatches the task from the GET 'task:' URI parameter and the default session cookie is SameSite=Lax, an attacker can lure a logged-in victim to an off-site page that performs a top-level GET navigation, rotating the victim's TOTP secret so their enrolled authenticator no longer matches the server, effectively forcing 2FA re-enrollment. Sites configured with session.samesite: Strict are not affected.

(As written by CVE List.)

## Affected

- getgrav grav: before 3.8.11 (not affected: 3.8.11)

## Every score

- VulnCheck: CVSS:4.0 2.3 Low `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L`

## References

- <https://github.com/getgrav/grav/security/advisories/GHSA-4px8-7p53-282r> (exploit, vendor-advisory)
- <https://www.vulncheck.com/advisories/grav-plugin-login-csrf-via-regenerate2fasecret> (third-party-advisory)

## Sources

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

---

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