CVE-2026-62236
published low CVSS 4.0 · 2.3grav-plugin-login < 3.8.11 CSRF via regenerate2FASecret
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| getgrav | — | grav0 to < 3.8.11 (affected · semver) · 3.8.11 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.3 / 10
- Severity
- low
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.4 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| getgrav | grav | 0 to < 3.8.11 (affected · semver)3.8.11 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-352 Cross-Site Request Forgery (CSRF)
References
2- GitHub Security Advisory (GHSA-4px8-7p53-282r) https://github.com/getgrav/grav/security/advisories/GHSA-4px8-7p53-282r
- VulnCheck Advisory: grav-plugin-login < 3.8.11 CSRF via regenerate2FASecret https://www.vulncheck.com/advisories/grav-plugin-login-csrf-via-regenerate2fasecret
Provider assertions
2VulnCheck · cna
grav-plugin-login < 3.8.11 CSRF via regenerate2FASecret
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5a5759f9830c456cc49a808af95c83f43a13bdba84e98ccb7fcd5dc183625169
- Ingested
- 23 Sep 2026, 09:24:40 UTC
- Source record
- Official CVE record