CVE-2026-62236
Last modified
CVE-2026-62236 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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. EPSS estimates a 0.10% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| getgrav | grav | < 3.8.11 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-62236?
How severe is CVE-2026-62236?
How do I fix CVE-2026-62236?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-62230Grav before 2.0.4 ships a default .htaccess (and reference w…8.7
- CVE-2026-62231The Grav API plugin (getgrav/grav-plugin-api) before 1.0.6 c…8.6
- CVE-2026-62232Grav before 2.0.4 contains a two-factor authentication bypas…9.1
- CVE-2026-62233grav-plugin-api before 1.0.6 fails to validate super-admin s…8.8
- CVE-2026-62234Grav before 2.0.4 fails to restrict cURL protocols in webhoo…8.4
- CVE-2026-62235Grav Flex-Objects before version 1.4.3 contains a broken acc…6.3
- CVE-2026-62237Grav before 2.0.4 contains a regular expression denial of se…6.5
- CVE-2026-62238OpenRemote before 1.26.0 contain an authenticated SQL inject…8.8
- CVE-2026-62239FlashAttention through 2.8.3.post1, fixed in commit 0816ef1,…6.6
- CVE-2026-6224A security flaw has been discovered in nocobase plugin-workf…7.3
- CVE-2026-62240CrewAI before 1.15.1 contains a server-side request forgery …8.3
- CVE-2026-62241clawvet self-hosted API server (apps/api) before 0.7.5 hard-…9.3
Are you affected by CVE-2026-62236?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
