# Google Authenticator <= 0.57 - Unauthenticated Two-Factor Authentication Bypass via Secret Fixation

- **ID:** WPSEC-2026-4118
- **Plugin:** Google Authenticator (`google-authenticator`), https://wordpress.org/plugins/google-authenticator/
- **Affected versions:** from 0.49 before 0.58
- **Fixed in:** 0.58 (Update to 0.58 or later.)
- **Severity:** Medium 6.8 (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N)
- **Weakness:** CWE-287
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-27)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/google-authenticator
- **Fix released:** 2026-11-26
- **Published:** 2026-11-27
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4118/

## Description

The Google Authenticator plugin for WordPress is vulnerable to Two-Factor Authentication Bypass via secret fixation in all versions up to, and including, 0.57. This is due to the profile and two-factor setup pages pre-filling the 2FA secret from the user-supplied 'GA_secret' request parameter when the user has no secret stored yet. This makes it possible for unauthenticated attackers to get a user who has not yet set up two-factor authentication to enroll with a TOTP secret the attacker knows, by tricking them into opening a crafted link. The attacker can then generate valid verification codes for that account. Logging in as the user still requires the attacker to know the user's password.

## References

- https://wpsec.com/vuln/WPSEC-2026-4118/
- https://plugins.svn.wordpress.org/google-authenticator/tags/0.58/
- https://wordpress.org/plugins/google-authenticator/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4118/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
