SA-CONTRIB-2026-346: Critical severity composer/drupal/openid_connect vulnerability

Published Dec 2, 2026
·
Updated

This module lets users log in to Drupal through an external OpenID Connect provider. 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 setting Automatically connect existing users must be enabled. It is off by default. The attacker needs a provider account with a verified email address that matches the target address under that collation.

Credit

Stefan Auditor (sanduhrs)

Affected Software

1 affected componentFixes available
composer/drupal/openid_connect<8.x-1.7
8.x-1.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 8.x-1.7
  2. Configuration

    Keep “Automatically connect existing users” disabled; it is off by default.

    Drupal OpenID Connect module Automatically connect existing users = false

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 is exposed to account takeover?

Sites using composer/drupal/openid_connect are exposed only if the Automatically connect existing users setting is enabled. Under affected database collations, a remote identity whose verified email differs only by accents may be linked to an existing Drupal account, including an administrator account.

2

What does an attacker need to exploit this?

The attacker needs an account at an external OpenID Connect provider with a verified email address that matches the target user's email address according to the database collation, despite being a different address. They can then authenticate through that provider as the matched Drupal user.

3

Are default installations affected?

The Automatically connect existing users setting is off by default, which mitigates the issue. Sites that have not enabled this setting are not exposed through the described automatic account-linking behavior.

4

What can be done if patching is not immediately possible?

Disable Automatically connect existing users to prevent remote identities from being automatically linked to existing Drupal accounts based on email-address lookup.

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