Unrated

drupal/simple_oauth - SA-CONTRIB-2026-242

  • Disclosed: 21.10.2026
  • Updated: 22.10.2026 18:07

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.

PlatformPackageVulnerable versionsFixed 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

CVSS score -
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 (Composer package), 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

  1. 2022: 1
  2. 2023: 0
  3. 2024: 0
  4. 2025: 1
  5. 2026: 1
  1. drupal/simple_oauth - SA-CONTRIB-2026-242 this entry
    Unrated CVE-2026-114542 >= 6.1.0, < 6.1.3 6.1.3
  2. High · 7.5 CVE-2025-12466 >= 6.0.0, < 6.0.7 6.0.7
  3. Unrated drupal-contrib-2022-002 < 4.6.0, >= 5.0.0, < 5.0.6 4.6.0, 5.0.6

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.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.