SA-CONTRIB-2026-340: Critical severity composer/drupal/email_otp_login vulnerability

Published Dec 2, 2026
·
Updated

This module provides login via a one-time code sent by e-mail, as an alternative to password-based authentication. The module does not sufficiently restrict the number or rate of attempts to validate a one-time login code. An anonymous user who knows (or can guess) a victim's e-mail address can repeatedly submit login code guesses until one succeeds, allowing them to log in as that user, including an administrator. This vulnerability is mitigated by the fact that an attacker needs to know the victim's registered e-mail address.

Credit

Marcus Johansson (marcus_johansson)

Affected Software

1 affected componentFixes available
composer/drupal/email_otp_login<1.0.8
1.0.8

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/drupal/email_otp_login to a version that resolves this vulnerability.

    Fixed in 1.0.8

Event History

Dec 2, 2026
Advisory Published
via Drupal·12:00 AM
Data Sourced
via Drupal·12:00 AM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Who can exploit this issue?

An anonymous user can attempt exploitation if they know or can guess a victim's registered e-mail address. The issue can affect any account using this login method, including administrator accounts.

2

What does an attacker need to do to gain access?

The attacker must repeatedly submit guesses for the victim's one-time login code. Because attempts are not sufficiently limited or rate-restricted, a successful guess allows login as the victim.

3

Is the issue mitigated by keeping e-mail addresses private?

Knowing the victim's registered e-mail address is required, so preventing disclosure of registered addresses reduces exposure. It does not eliminate the issue where addresses are predictable, publicly known, or otherwise obtainable.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203