CVE Catalog

CVE-2026-62669

HighCVSS 7.4
Published: Updated: Translated: NVD NIST

Summary

The Grav Login plugin before version 3.8.11 contains a vulnerability in the login.regenerate2FASecret task that only checks 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.

Risk Assessment

The risk includes account takeover without knowledge of the second authentication factor, potentially leading to unauthorized access to data and system integrity compromise.

Recommendation

It is recommended to upgrade the Grav Login plugin to version 3.8.11 or later to ensure proper authorization verification before 2FA secret regeneration.

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS