drupal/oauth_login_oauth2 - SA-CONTRIB-2026-284
This module enables you to log in to your Drupal site using any OAuth 2.0 or OpenID Connect compliant identity provider.
The module doesn't sufficiently check access on a configuration route, or check whether the identity provider has verified the email address it returns. Together, these let an attacker log in as any existing user whose email address they know.
This vulnerability is mitigated by the fact that an attacker must have an account with an identity provider the site is configured to use. They must also be able to set the value of at least one attribute that provider returns, such as a username.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/oauth_login_oauth2 | < 3.1.1 | 3.1.1 |
| Drupal module | drupal/oauth_login_oauth2 | < 3.1.1 | 3.1.1 |
References
- Weakness (CWE)
-- Platform
- Composer, Drupal
- Package
drupal/oauth_login_oauth2- Disclosed
- 28.10.2026
- Updated
- 28.10.2026 20:17
Sources and licenses
OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2026-284 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/oauth_login_oauth2
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.