# Login With Ajax – Fast Logins, 2FA, Redirects <= 4.6.1 - Unauthenticated Two-Factor Authentication Bypass via Brute Force

- **ID:** WPSEC-2026-4046
- **Plugin:** AJAX Auth – Fast Logins, 2FA, Redirects (`login-with-ajax`), https://wordpress.org/plugins/login-with-ajax/
- **Affected versions:** from 4.2 before 4.6.2
- **Fixed in:** 4.6.2 (Update to 4.6.2 or later.)
- **Severity:** High 7.4 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N)
- **Weakness:** CWE-307
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-11-27)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/login-with-ajax
- **Fix released:** 2026-11-26
- **Published:** 2026-11-27
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4046/

## Description

The AJAX Auth plugin for WordPress is vulnerable to Two-Factor Authentication Bypass via the 2FA verification step of the AJAX login in all versions up to, and including, 4.6.1. This is due to the verification handler placing no limit on failed code submissions within a verification session and not locking the account after repeated failures. This makes it possible for unauthenticated attackers who already know a user's password to brute-force the 6-digit verification code and log in as that user, on sites where two-factor authentication is enabled.

## References

- https://wpsec.com/vuln/WPSEC-2026-4046/
- https://plugins.svn.wordpress.org/login-with-ajax/tags/4.6.2/
- https://wordpress.org/plugins/login-with-ajax/

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

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.
