CSRF in grav-plugin-login: anonymous attacker rotates a logged-in user's 2FA (TOTP) secret (no nonce on task=login.regenerate2FASecret)
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-62671
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 03:42 UTC · Revision 1
Source evidence
CSRF in grav-plugin-login: anonymous attacker rotates a logged-in user's 2FA (TOTP) secret (no nonce on task=login.regenerate2FASecret)
core-osv · Original sourcePublished 19 Aug 2026, 15:49 UTC
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.
osv:CVE-2026-62671
Complete source record
{
"id": "9ac586f9c9fee41b2f0f5dfc3fec2b5c29ecab99ccbba45e0f0f4a9b21511bb2",
"url": "https://osv.dev/vulnerability/CVE-2026-62671",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CSRF in grav-plugin-login: anonymous attacker rotates a logged-in user's 2FA (TOTP) secret (no nonce on task=login.regenerate2FASecret)",
"summary": "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.",
"evidence": "osv:CVE-2026-62671",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-62671",
"aliases": [
"CVE-2026-62671",
"GHSA-4px8-7p53-282r"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/getgrav/grav-plugin-login",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "0166e334966bf180d735fd2bb2e4b76fb7d63030"
},
{
"fixed": "5d1b722298cb947d8f434025d121b99152a2c630"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "3.8.11"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "5d1b722298cb947d8f434025d121b99152a2c630"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "0166e334966bf180d735fd2bb2e4b76fb7d63030"
}
],
"source": "REFERENCES_TAG",
"original_tag": "3.8.11"
}
]
}
}
],
"versions": [
"3.8.10",
"3.8.9",
"3.8.8",
"3.8.7",
"3.8.6",
"3.8.5",
"3.8.4",
"3.8.3",
"3.8.2",
"3.8.1",
"3.8.0",
"3.7.9",
"3.7.8.1",
"3.7.8",
"3.7.7",
"3.7.6",
"3.7.5",
"3.7.4",
"3.7.3",
"3.7.2",
"3.7.1",
"3.7.0",
"3.6.3",
"3.6.2",
"3.6.1",
"3.6.0",
"3.5.3",
"3.5.2",
"3.5.1",
"3.5.0",
"3.4.4",
"3.4.3",
"3.4.2",
"3.4.1",
"3.4.0",
"3.3.8",
"3.3.7",
"3.3.6",
"3.3.5",
"3.3.4",
"3.3.3",
"3.3.2",
"3.3.1",
"3.3.0",
"3.2.0",
"3.1.0",
"3.0.6",
"3.0.5",
"3.0.4",
"3.0.3",
"3.0.2",
"3.0.1",
"3.0.0",
"2.8.4",
"3.0.0-rc.4",
"2.8.3",
"3.0.0-rc.3",
"3.0.0-rc.2",
"3.0.0-rc.1",
"3.0.0-beta.1",
"2.8.2",
"2.8.1",
"2.8.0",
"2.7.3",
"2.7.2",
"2.7.1",
"2.7.0",
"2.6.3",
"2.6.2",
"2.6.1",
"2.6.0",
"2.5.0",
"2.4.3",
"2.4.2",
"2.4.1",
"2.4.0",
"2.3.2",
"2.3.1",
"2.3.0",
"2.2.1",
"2.2.0",
"2.1.2",
"2.2.0-rc.5",
"2.2.0-rc.3",
"2.2.0-rc.2",
"2.2.0-rc.1",
"2.1.1",
"2.1.0",
"2.0.1",
"2.1.0-rc.2",
"2.1.0-rc.1",
"2.0.0",
"1.3.1",
"2.0.0-rc.2",
"2.0.0-rc.1",
"2.0.0-beta.3",
"2.0.0-beta.1",
"1.3.0",
"1.2.1",
"1.2.0",
"1.1.0",
"1.0.1",
"1.0.0",
"0.3.3",
"0.3.2",
"0.3.1",
"0.3.0",
"0.2.0",
"0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62671.json"
}
}
],
"modified": "2026-10-28T02:30:42.091270540Z",
"provider": "osv",
"references": [
"https://github.com/getgrav/grav-plugin-login/releases/tag/3.8.11",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62671.json",
"https://github.com/getgrav/grav/security/advisories/GHSA-4px8-7p53-282r",
"https://nvd.nist.gov/vuln/detail/CVE-2026-62671",
"https://github.com/getgrav/grav-plugin-login/commit/5d1b722298cb947d8f434025d121b99152a2c630"
],
"provider_metadata": {
"cwe_ids": [
"CWE-352"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62671.json"
}
},
"related_cves": [
{
"value": "CVE-2026-62671",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 509924,
"published_at": "2026-08-19T15:49:40.019+00:00"
}