The module does not sufficiently restrict consumer configuration, according to Drupal advisory SA-CONTRIB-2026-296. A user with consumer creation or editing rights could configure a consumer that obtains a token with greater privileges.Drupal says the resulting token can allow access as another user, including an administrator. The prerequisite is a role with Add consumer entities or Update own consumer entities permission. This is a contributed module issue, not a Drupal core vulnerability.
What it allows
How Does CVE-2026-122058 Change Consumer Access?
Simple OAuth issues access tokens to clients through its OAuth 2.0 authorization server. Drupal says the consumer configuration boundary was insufficient: an account allowed to create or edit consumers could configure a consumer to request more access than intended. The resulting token could then be used to reach the site as a different user.
The distinction is the permission boundary, not anonymous access to the module. An organization should identify which roles hold either consumer permission and examine the consumers those accounts can manage. Our defensive reading is to treat unexpected consumer access settings or privileges as investigation leads, not as proof of misuse.
Drupal rates the issue Critical at 15/25 on its own security risk scale. The NVD record identifies incorrect authorization as CWE-863 but has no CVSS 3.1 or CVSS 4.0 metric in its 26 November record. Teams can place this permission and token review in their vulnerability intelligence workflow.
Who is affected
Which Simple OAuth Versions Are Affected by CVE-2026-122058?
Drupal lists versions before 5.2.6, 6.0.0 through before 6.0.10, and 6.1.0 through before 6.1.4. The fixed releases are 5.2.6, 6.0.10 and 6.1.4 for their respective branches. Confirm the installed Simple OAuth module version and its branch before selecting the upgrade.
The affected deployment must also grant Add consumer entities or Update own consumer entities to a role the attacker can use. After updating, access configuration requires the new Administer consumer access settings permission, which Drupal says to grant only to trusted roles. In the 6.1 branch, Client Credentials tokens are now limited to their scopes.
The update does not change existing consumers, Drupal warns. Review their access settings and revoke their tokens if there is doubt about how they were configured. Record the installed and running module release alongside these checks in a vulnerability management process.
The vendor range begins with an open lower bound for the 5.2 branch, so this profile does not encode an automated version range. For context, the separate Drupal Content Synchronizer vulnerability concerns another contributed module and needs its own version check.
Timeline
- 2026-11-04
Drupal dated SA-CONTRIB-2026-296 and listed fixed Simple OAuth releases 5.2.6, 6.0.10 and 6.1.4.
- 2026-11-26
NVD published the CVE-2026-122058 record, with CWE-863 and no CVSS metric at the time of review.
What to do
-
Inventory module versions and permissions
Find Simple OAuth installations and identify accounts with Add consumer entities or Update own consumer entities permission.
-
Upgrade the affected branch
Install Simple OAuth 5.2.6, 6.0.10 or 6.1.4 for the corresponding branch, or a later vendor-confirmed fixed release.
-
Restrict consumer access settings
Grant the new Administer consumer access settings permission only to trusted roles, as Drupal advises.
-
Review existing consumers and tokens
Inspect existing consumer access settings. In the 6.1 branch, review Client Credentials consumers and revoke their tokens if configuration is in doubt.
-
Verify the running release
Confirm the deployed module reports the fixed release for its branch after updating, then record the permission and consumer review results.
What Brandefense can do
- Watch your stack for exploited flaws
Name the vendors and products you run, and Brandefense alerts you when a CVE in them is exploited.
- See CVE-2026-122058 in Brandefense Atlas
The Atlas record of CVE-2026-122058: severity, exploitation status and the sources behind it.
- Vulnerability intelligence platform
Brandefense Vulnerability Intelligence follows which vulnerabilities attackers are using, so your team can patch what is under attack first.
Frequently Asked Questions
What is CVE-2026-122058?
It is an incorrect authorization flaw in the Drupal Simple OAuth contributed module. A user with consumer management permission can potentially obtain tokens with greater privileges.
Who can trigger the access bypass?
Drupal says a role must have Add consumer entities or Update own consumer entities permission. The advisory does not describe anonymous access.
Which Simple OAuth versions contain the fix?
Drupal lists 5.2.6, 6.0.10 and 6.1.4 as fixed releases for their respective branches.
Is updating the module sufficient for existing consumers?
Drupal says the update does not change existing consumers. Review them and revoke their tokens if their configuration is in doubt.
Sources
- Simple OAuth access bypass advisory SA-CONTRIB-2026-296Drupal Security Team
- CVE-2026-122058 recordNIST NVD