drupal/simple_oauth - SA-CONTRIB-2026-242
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.
Since version 6.1.0, the module could cache a token's permissions in a way that let them be reused for another user's token with the same scopes. A user could gain permissions they do not have, including administrative access.
This vulnerability is mitigated by the fact that an attacker needs an OAuth2 token, and cannot trigger the issue themselves: a more privileged user's token with the same scopes must be used first. User 1 is not affected unless security.enable_super_user is set to false.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/simple_oauth | >= 6.1.0, < 6.1.3 | 6.1.3 |
| Drupal module | drupal/simple_oauth | >= 6.1.0, < 6.1.3 | 6.1.3 |
References
- Weakness (CWE)
-- Platform
- Composer, Drupal
- Package
drupal/simple_oauth- Disclosed
- 21.10.2026
- Updated
- 22.10.2026 18:07
Sources and licenses
OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2026-242 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/simple_oauth
All published vulnerabilities of this package (Drupal module), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 3
- First → latest
- 01.2022 10.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 1
- Unrated 2
Disclosures per year
- 2022: 1
- 2023: 0
- 2024: 0
- 2025: 1
- 2026: 1
-
drupal/simple_oauth - SA-CONTRIB-2026-242 this entry
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.