CVE-2026-142400: 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.

Affected Software

1 affected componentFixes available
composer/drupal/openid_connect<1.7.0
1.7.0

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 1.7.0
  2. Configuration

    Keep Automatically connect existing users disabled; the vulnerability requires this setting to be enabled.

    Drupal OpenID Connect module Automatically connect existing users = false

Event History

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

Frequently Asked Questions

1

Which deployments are exposed to account takeover?

Deployments are exposed only when the Automatically connect existing users setting is enabled. The module has this setting disabled by default, so default configurations are mitigated.

2

What does an attacker need to exploit this issue?

The attacker needs an account at the configured OpenID Connect provider with a verified email address. That address must match the target Drupal user's email address under the database collation, such as where the collation ignores accent differences.

3

What is the potential impact if exploitation succeeds?

An attacker may be linked to and log in as an existing Drupal account whose email address collides under the database collation. The affected account could be an administrator.

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