High

drupal/simple_oauth - SA-CONTRIB-2025-114

  • Disclosed: 29.10.2025
  • Updated: 11.10.2026 12:18

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 respect granted scopes, it affects all access checks that are based on roles. For example: routes that have the _role requirement, can be bypassed with an access token.

This vulnerability is mitigated by the fact that an attacker must have the access token in possession and the user related to the token must have the associated (role requirement) roles assigned.

Update: the Affected versions field was updated to reflect that this vulnerability was present in the 6.0.0 release and fixed in 6.0.7. Earlier versions of this advisory incorrectly stated that other versions were affected.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package drupal/simple_oauth >= 6.0.0, < 6.0.7 6.0.7
Drupal module drupal/simple_oauth >= 6.0.0, < 6.0.7 6.0.7

References

CVSS score 7.5/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness (CWE)
CWE-288
Platform
Composer, Drupal
Package
drupal/simple_oauth
Disclosed
29.10.2025
Updated
11.10.2026 12:18

Sources and licenses

OSV / GitHub Advisory Database - GHSA-jqmq-fpwv-p925 - CC BY 4.0

OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2025-114 - 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
2
First → latest
01.2022 10.2025
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 1
  • Unrated 1

Disclosures per year

  1. 2022: 1
  2. 2023: 0
  3. 2024: 0
  4. 2025: 1
  5. 2026: 0
  1. drupal/simple_oauth - SA-CONTRIB-2025-114 this entry
    High · 7.5 CVE-2025-12466 >= 6.0.0, < 6.0.7 6.0.7
  2. 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.