DRUPAL-CONTRIB-2025-114

See a problem?
Import Source
https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/simple_oauth/DRUPAL-CONTRIB-2025-114.json
JSON Data
https://api.osv.dev/v1/vulns/DRUPAL-CONTRIB-2025-114
Aliases
Published
2025-10-29T16:44:39Z
Modified
2025-12-10T23:41:08.954113Z
Summary
[none]
Details

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.

References
Credits

Affected packages

Packagist:https://packages.drupal.org/8 / drupal/simple_oauth

Package

Name
drupal/simple_oauth
Purl
pkg:composer/drupal/simple_oauth

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.0.0
Fixed
6.0.7
Database specific
{
    "constraint": ">=6.0.0 <6.0.7"
}

Database specific

affected_versions

">=6.0.0 <6.0.7"