Read the docs
TI-2026-44777 Aliases CVE-2026-62669GHSA-7mgc-c7pq-3rr3

Grav Login Plugin: 2FA Bypass via 'login.regenerate2FASecret' - Secret Rotation During Pending Challenge

Priority LOW 35CWE-287Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-287.

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 checks only that the pending-session user exists rather than requiring $user->authorized. After submitting a victim's correct password, an attacker can invoke taskRegenerate2FASecret() during the pending TOTP challenge, overwrite twofa_secret, read the replacement secret from the response, calculate a valid code, and complete authentication without the victim's second factor. This issue is fixed in version 3.8.11.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00501 43rd percentileScored 2026-11-07
Fix Fixed grav (getgrav): 2.0.4grav-plugin-login (getgrav): 3.8.11+1 more product

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
getgravgravbefore 2.0.42.0.4Patch availableCNA
getgravgrav-plugin-loginbefore 3.8.113.8.11Patch availableCNA
—getgrav/grav (Packagist)before 2.0.42.0.4Patch availableGHSA-7mgc-c7pq-3rr3
  • grav Vendorgetgrav Affected before 2.0.4 Fixed in 2.0.4 Patch available CNA
  • grav-plugin-login Vendorgetgrav Affected before 3.8.11 Fixed in 3.8.11 Patch available CNA
  • getgrav/grav (Packagist) Vendor— Affected before 2.0.4 Fixed in 2.0.4 Patch available GHSA-7mgc-c7pq-3rr3

Remediation

  • Fix · CNA grav (getgrav) Fixed in 2.0.4
  • Fix · CNA grav-plugin-login (getgrav) Fixed in 3.8.11
  • Fix · GHSA-7mgc-c7pq-3rr3 getgrav/grav (Packagist) Fixed in 2.0.4 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-62669
  2. 2026-10-03 Alias added: GHSA-7mgc-c7pq-3rr3

References

  • TI-2026-30893 Grav: Privilege Escalation via Missing Server-Side Validation of groups/access CVSS 3.1CRITICAL 9.4
  • TI-2025-28971 Cross Site Scripting vulnerability in grav v.1.7.48 and before allows an attacker to… CVSS 3.1CRITICAL 9.8
  • TI-2021-04523 Unauthenticated Arbitrary YAML Write/Update leads to Code Execution CVSS 3.1CRITICAL 9.8
  • TI-2026-50940 Grav CMS before 2.0.16 Origin Validation Bypass via Referer CVSS 4.0CRITICAL 9.3
  • TI-2026-46446 Grav before 2.0.7 Remote Code Execution via Blueprint dynamicData CVSS 4.0CRITICAL 9.3
  • TI-2021-22428 GravCMS 1.10.7 - Arbitrary YAML Write/Update (Unauthenticated) (2) CVSS 4.0CRITICAL 9.3
See all 228 →

Sources