Authenticator Login Plus (2FA)
3 security fixes in one update. Authenticator Login Plus (2FA) fixed 3 separate security bugs at once: 3 authentication bypass. One update covers all of them. The most serious, SA-CONTRIB-2026-322, is explained here and the full list is at the end of the card.
The module can sometimes be tricked into accepting a login without a valid password or second code. Someone with an ordinary account could take over another account that has this security check turned on. They could view hidden data and modify information on the site.
- Who could do thisOnly someone with a login on your site.
- Does it apply to youA site is affected if the attacker has their own account, controls the email address or knows the password of the victim, and wins a timing dependent race.
- Has it been used in attacksNo sign of it.
- How urgentDrupal rates this moderately critical. Include it in your next routine update, within the month.
Tell your developerUpdate Authenticator Login Plus (2FA) to 1.0.3.
For developers: what the fix changed
The fix resolves a race condition by storing the pending login state as a single record via the new PendingLogin class and in src/Service/LoginChallengeManager.php, rather than across multiple keys. It also reworks the handling of logins that bypass the standard form by introducing UnverifiedLoginSubscriber and OneTimeLoginController to ensure the password check and second factor authentication cannot be bypassed.
Also in this release The release also stores code length and validity period per enrollment, fixes a doubled base path in the continue link, lists each user once on the admin overview, and updates dependencies.
README.md+38 −1auth_login_plus.install+102 −0auth_login_plus.routing.yml+3 −3 fixauth_login_plus.services.yml+17 −0 fixcomposer.json+1 −1src/Access/OwnSettingsAccessCheck.php+6 −3 fixsrc/Controller/AdminOverviewController.php+2 −0src/Controller/OneTimeLoginController.php+64 −0 fixsrc/Controller/ResetRequestController.php+11 −4 fixsrc/EventSubscriber/LoginEnforcementSubscriber.php+116 −6 fixsrc/EventSubscriber/UnverifiedLoginSubscriber.php+143 −0 fixsrc/Exception/UnverifiedLoginException.php+24 −0 fix
- Moderately critical · Authentication bypass · SA-CONTRIB-2026-322
- Moderately critical · Authentication bypass · SA-CONTRIB-2026-321
- Moderately critical · Authentication bypass · SA-CONTRIB-2026-320