CVE-2026-126731: Composer/drupal/auth_login_plus vulnerability
This module enables you to require a second authentication factor (a time-based one-time password from an authenticator app) when users log in.
Under certain circumstances, an attacker can make the module treat a login as having passed the password check when it did not, or reach the two-factor setup page of another account. Depending on the site's configuration, this can allow the attacker to take over an account that has 2FA enabled without knowing its password or its second factor.
This vulnerability is mitigated by the fact that the attacker must have an account of their own on the site, must already control the victim's email address or know the victim's password, and must win a timing-dependent race.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/drupal/auth_login_plusto a version that resolves this vulnerability.Fixed in 1.0.3
Event History
Frequently Asked Questions
Who is realistically exposed to account takeover?
Sites using this module may be affected, but takeover depends on the site's configuration and on the target account having 2FA enabled. The attacker must also have their own account on the site, control the victim's email address or know the victim's password, and win a timing-dependent race.
Does an attacker need the victim's password or second factor?
The attacker does not necessarily need both. The described conditions require the attacker to already control the victim's email address or know the victim's password; successful exploitation may allow takeover without knowing the victim's password or second factor.