SA-CONTRIB-2026-347: Critical severity 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.

Credit

Stefan Auditor (sanduhrs)

Affected Software

1 affected componentFixes available
composer/drupal/samlauth<8.x-3.16, <8.x-3.17
8.x-3.168.x-3.17

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 8.x-3.16Fixed in 8.x-3.17

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

Which sites are exposed to account takeover?

Sites are exposed only if the account-linking option is enabled. The risk applies where the database collation can treat differently accented email addresses as matching.

2

What does an attacker need to exploit this issue?

An attacker needs to authenticate through the SAML Identity Provider with a remote identity whose email address can match a target Drupal account under the database collation. Successful exploitation can allow login as the matched account, including an administrator account.

3

Are all accounts vulnerable once account linking is enabled?

No. An account is vulnerable only before it has been logged into using the correctly matched SAML user.

4

What can be done if the module cannot be updated immediately?

Disable the account-linking configuration option. It is off by default, and disabling it prevents the vulnerable lookup-based linking behavior.

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