CVE-2026-142401: Composer/drupal/samlauth vulnerability
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/drupal/samlauthto a version that resolves this vulnerability.Fixed in 3.16.0 - Configuration
Keep the account linking configuration option disabled.
Drupal SAML authentication module account linking = off
Event History
Frequently Asked Questions
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.
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.
Are default installations affected?
The account-linking configuration option is off by default, which mitigates the issue unless it has been enabled.
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.