Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-62232

Grav < 2.0.4 2FA Bypass via Secret Regeneration
Back to all
CVE

CVE-2026-62232

Grav < 2.0.4 2FA Bypass via Secret Regeneration

Grav before 2.0.4 contains a two-factor authentication bypass vulnerability in the login plugin where the regenerate2FASecret task checks only user existence, not authorization, during the pending TOTP challenge window. Attackers who know the victim's password can call this task without a CSRF nonce to overwrite the 2FA secret with an attacker-chosen value, compute a valid TOTP code, and complete authentication while reducing 2FA to password-only protection.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
7.4
-
3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
C
H
U
0
-
C
H
U
-

Related Resources

No items found.

References

https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62232.json, https://github.com/getgrav/grav/security/advisories/GHSA-7mgc-c7pq-3rr3, https://nvd.nist.gov/vuln/detail/CVE-2026-62232, https://www.vulncheck.com/advisories/grav-2fa-bypass-via-secret-regeneration, https://github.com/getgrav/grav

Severity

7.4

CVSS Score
0
10

Basic Information

Base CVSS
7.4
EPSS Probability
0.00386%
EPSS Percentile
0.31578%
Introduced Version
0
Fix Available
c22d77d2ec2a9202d9f005f4ceda9c1483921286

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading