CVE-2026-142401: Composer/drupal/samlauth vulnerability

Published Dec 2, 2026
·
Updated

This module allows users to authenticate against a SAML Identity Provider to log in to your Drupal site.

The module can link a remote identity to an existing Drupal account with the same email address through a database lookup. Some database collations ignore accents, so two different addresses can possibly match. An attacker can then log in as another user, including an administrator.

This vulnerability is mitigated by the fact that:

The account linking configuration option is off by default. Accounts are only vulnerable to takeover before they are logged into using the correctly matched SAML user.

Affected Software

1 affected componentFixes available
composer/drupal/samlauth<3.16.0
3.16.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 3.16.0
  2. Configuration

    Keep the account linking configuration option disabled.

    Drupal SAML authentication module account linking = off

Event History

Dec 2, 2026
Advisory Published
via OSV·05:23 PM
Data Sourced
via OSV·05:23 PM
DescriptionAffected Software

Frequently Asked Questions

1

Which deployments are exposed to account takeover?

Deployments are exposed only if the account-linking option is enabled and the database collation treats accented and unaccented email addresses as equivalent. The affected target account must also not yet have logged in through its correctly matched SAML identity.

2

What does an attacker need to exploit this issue?

An attacker needs to authenticate through the configured SAML Identity Provider using an email address that differs from a target Drupal account's email address but matches it under the database collation. Successful matching can link the remote identity to the target account, including an administrator account.

3

Are default installations affected?

The account-linking configuration option is off by default, which mitigates the issue unless it has been enabled.

4

How can administrators assess whether an account may be at risk?

Review whether account linking is enabled and whether the database collation ignores accents in email comparisons. Accounts that have not yet logged in with their correctly matched SAML user are the accounts susceptible to takeover under those conditions.

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