SA-CONTRIB-2026-287: Critical severity composer/drupal/oidc vulnerability

Published Oct 28, 2026
·
Updated

The module enables authentication via the OpenID Connect (oAuth2) protocol. When a new user logs in via OpenID Connect, the module tries to link the user to an existing account with the same email address. Doing so it allows to take over any existing Drupal account (except user 1) that has not yet been linked to an OpenID Connect user. This vulnerability is mitigated by the fact that the site must be configured to use a provider that doesn't verify the email address of the user.

Credit

Sanjeev Kumar (ksanjeev284)

Affected Software

1 affected componentFixes available
composer/drupal/oidc<2.3.1
2.3.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 2.3.1

Event History

Oct 28, 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 accounts are at risk?

Existing Drupal accounts other than user 1 are at risk if they have not yet been linked to an OpenID Connect user. The issue occurs when a new OpenID Connect login has the same email address as an existing account.

2

What configuration is required for exploitation?

The site must be configured to use an OpenID Connect provider that does not verify users' email addresses. An attacker would need to authenticate through that provider using an email address matching an unlinked existing Drupal account.

3

Are sites using an email-verifying OpenID Connect provider affected?

The provided information identifies use of a provider that does not verify email addresses as the mitigating condition. It does not indicate that exploitation is possible when the configured provider verifies email addresses.

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