CVE-2026-62671
JSON

5.4medium

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

Severity
5.4medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.16% (higher than 5% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
getgrav grav-plugin-login< 3.8.11CVE List

Classification

CWE-352

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-62671 changed 2026-08-19CVE Terms of Use
NVDCVE-2026-62671 changed 2026-09-09Public domain