Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-62236: Cross-Site Request Forgery (CSRF) in getgrav grav

0
Low
VulnerabilityCVE-2026-62236cvecve-2026-62236
Published: 07/17/2026 (07/17/2026, 00:07:11 UTC)
Source: CVE Database V5
Vendor/Project: getgrav
Product: grav

Description

A Cross-Site Request Forgery (CSRF) vulnerability exists in grav-plugin-login versions before 3.8.11. The vulnerability affects the login.regenerate2FASecret frontend task, allowing an attacker to force a logged-in user to regenerate their TOTP secret without proper CSRF protections. This causes the victim's two-factor authentication to become invalid, forcing re-enrollment. The issue does not affect sites configured with session.samesite set to Strict. The vulnerability has a low severity score.

CVSS v4.0

Score 2.3low

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →cve
grav
pkg:github/grav
Affected versions
<3.8.11

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/17/2026, 00:48:22 UTC

Technical Analysis

The grav-plugin-login component of the Grav CMS before version 3.8.11 contains a CSRF vulnerability in the login.regenerate2FASecret frontend task. This task regenerates and persists a new TOTP secret for the authenticated user session but lacks anti-CSRF nonce or Origin/Referer validation. Because the task is dispatched via a GET 'task:' URI parameter and the default session cookie uses SameSite=Lax, an attacker can trick a logged-in user into visiting an off-site page that triggers a GET request to rotate the victim's TOTP secret. This invalidates the victim's current authenticator setup, forcing them to re-enroll in 2FA. Sites with session.samesite configured as Strict are not vulnerable.

Potential Impact

An attacker can cause a logged-in user to unknowingly regenerate their TOTP secret, invalidating their current two-factor authentication setup. This disrupts the user's ability to authenticate using 2FA until they complete re-enrollment. The vulnerability does not allow direct account takeover or credential theft but can cause denial of service to 2FA-protected accounts.

Mitigation Recommendations

A fix is available in grav-plugin-login version 3.8.11 and later. Users should upgrade to version 3.8.11 or newer to remediate this vulnerability. Alternatively, configuring the site to use session.samesite: Strict mitigates the issue by preventing the CSRF attack vector. No other mitigations are indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-07-13T16:41:09.007Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a59784168715ace4305da72

Added to database: 07/17/2026, 00:33:05 UTC

Last enriched: 07/17/2026, 00:48:22 UTC

Last updated: 07/17/2026, 00:48:22 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses