Skip to main content
VulnerabilityPublished

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

Affects getgrav gravSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 2.3 Low : upgrade to 3.8.11 when convenient.

Data as of 28 Nov 2026, 18:37 UTC

CVSS 4.0 base score
2.3Low
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 1% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.8.11
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 28 Nov 2026.

What to do

Upgrade getgrav grav to 3.8.11.

Affected software

ProductAffectedFixed in
getgravgravAffected
  • <3.8.11
Fixed in
  • 3.8.11
GitHubgravpkg:github/gravOther threatsAffected
  • <3.8.11
Fixed in
  • 3.8.11

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

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.

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.

References

Community reviews

Loading reviews…