# Defender Security <= 6.4.1 - Authenticated (Subscriber+) Two-Factor Authentication Bypass via Fallback Email Provider

- **ID:** WPSEC-2026-3363
- **Plugin:** Defender Security – Malware Scanner, Login Security & Firewall (`defender-security`), https://wordpress.org/plugins/defender-security/
- **Affected versions:** from 2.8.0 before 6.4.2
- **Fixed in:** 6.4.2 (Update to 6.4.2 or later.)
- **Severity:** Medium 4.2 (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N)
- **Weakness:** CWE-287
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-18)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/defender-security
- **Fix released:** 2026-11-17
- **Published:** 2026-11-18
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3363/

## Description

The Defender Security plugin for WordPress is vulnerable to Two-Factor Authentication Bypass via the Fallback Email two-factor provider in versions 2.8.0 up to, and including, 6.4.1. This is due to the public fallback e-mail passcode send route (send_otp_to_email()) and the provider's passcode validation (Fallback_Email::validate_authentication()) not checking whether the Fallback Email provider is enabled for the user, while the 2FA verification step accepts any provider slug submitted in 'auth_method'. This makes it possible for attackers who know a user's password and can read that user's mailbox (the fallback address, or the account e-mail when none is set) to request and use an e-mailed passcode to complete the second factor, even when the user has enabled only another method such as TOTP. This downgrades the user's chosen second factor to e-mail.

## References

- https://wpsec.com/vuln/WPSEC-2026-3363/
- https://plugins.svn.wordpress.org/defender-security/tags/6.4.2/
- https://wordpress.org/plugins/defender-security/

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

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.
