Simple OAuth (OAuth2) & OpenID Connect - Critical - Access bypass - SA-CONTRIB-2026-296
View online: https://www.drupal.org/sa-contrib-2026-296 Project: Simple OAuth (OAuth2) & OpenID Connect [1] Project machine name: simple_oauth Date: 2026-November-04 Security risk: *Critical* 15 ∕ 25 AC:Complex/A:Admin/CI:All/II:All/E:Theoretical/TD:Default [2] Vulnerability: Access bypass Affected versions: <5.2.6 || >=6.0.0 <6.0.10 || >=6.1.0 <6.1.4 CVE IDs: CVE-2026-122058 Description: This module introduces an OAuth 2.0 authorization server, which can be configured to protect your Drupal instance with access tokens, or allow clients to request new access tokens and refresh them. The module doesn't sufficiently restrict access to consumer configuration. Users who can create or edit consumers can potentially configure malicious consumers and obtain tokens with additional privileges. This can allow them to access the site as another user, up to full administrative access. This vulnerability is mitigated by the fact that an attacker must have a role with the /Add consumer entities/ or /Update own consumer entities/ permissions. Solution: Install the latest version: * If you use version 6.1.x, upgrade to Simple OAuth (OAuth2) & OpenID Connect 6.1.4 [3]. * If you use version 6.0.x, upgrade to Simple OAuth (OAuth2) & OpenID Connect 6.0.10 [4]. * If you use version 5.2.x, upgrade to Simple OAuth (OAuth2) & OpenID Connect 5.2.6 [5]. Additional steps are required after updating: * Configuring the access a consumer grants requires the new /Administer consumer access settings/ permission. Grant it only to trusted roles. * In 6.1.x, Client Credentials tokens are now always limited to their scopes. The update does not change existing consumers. Review them, and revoke their tokens if in doubt. Reported By: * Andrei Lungu (andrei.lungu) [6] * Drew Webber (mcdruid) [7] of the Drupal Security Team Fixed By: * Bojan Bogdanovic (bojan_dev) [8] Coordinated By: * Swan Kalata (akalata) [9] of the Drupal Security Team * Juraj Nemec (poker10) [10] of the Drupal Security Team * Jess (xjm) [11] of the Drupal Security Team ------------------------------------------------------------------------------ Contribution record [12] [1] https://www.drupal.org/project/simple_oauth [2] https://www.drupal.org/drupal-security-team/security-risk-levels-defined [3] https://www.drupal.org/project/simple_oauth/releases/6.1.4 [4] https://www.drupal.org/project/simple_oauth/releases/6.0.10 [5] https://www.drupal.org/project/simple_oauth/releases/5.2.6 [6] https://www.drupal.org/u/andreilungu [7] https://www.drupal.org/u/mcdruid [8] https://www.drupal.org/u/bojan_dev [9] https://www.drupal.org/u/akalata [10] https://www.drupal.org/u/poker10 [11] https://www.drupal.org/u/xjm [12] https://new.drupal.org/contribution-record?source_link=https%3A//www.drupal....
participants (1)
-
security-news@drupal.org