drupal-contrib-2026-296

osv_packagist
Description

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 restrict access to consumer configuration. Users who can create or edit consumers can potentially configure malicious consumers and obtain tokens with additional privileges. This can allow them to access the site as another user, up to full administrative access. This vulnerability is mitigated by the fact that an attacker must have a role with the *Add consumer entities* or *Update own consumer entities* permissions.

Timeline
Published
unknown
Last Modified
unknown
CVSS Details

CVSS details not available.

Affected Products

No product information available.

References
Linked Vulnerabilities

No linked vulnerabilities found.

{
  "affected": [
    {
      "database_specific": {
        "affected_versions": "<5.2.6 || >=6.0.0 <6.0.10 || >=6.1.0 <6.1.4",
        "source": "https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/simple_oauth/DRUPAL-CONTRIB-2026-296.json"
      },
      "package": {
        "ecosystem": "Packagist:https://packages.drupal.org/8",
        "name": "drupal/simple_oauth",
        "purl": "pkg:composer/drupal/simple_oauth?repository_url=https:%2F%2Fpackages.drupal.org%2F8"
      },
      "ranges": [
        {
          "database_specific": {
            "constraint": "<5.2.6"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.2.6"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "database_specific": {
            "constraint": ">=6.0.0 <6.0.10"
          },
          "events": [
            {
              "introduced": "6.0.0"
            },
            {
              "fixed": "6.0.10"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "database_specific": {
            "constraint": ">=6.1.0 <6.1.4"
          },
          "events": [
            {
              "introduced": "6.1.0"
            },
            {
              "fixed": "6.1.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2026-122058"
  ],
  "credits": [
    {
      "contact": [
        "https://www.drupal.org/u/danalex555"
      ],
      "name": "Alex Dan (dan.alex555)"
    },
    {
      "contact": [
        "https://www.drupal.org/u/mcdruid"
      ],
      "name": "Drew Webber (mcdruid)"
    }
  ],
  "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.\n\nThe module doesn't sufficiently restrict access to consumer configuration. Users who can create or edit consumers can potentially configure malicious consumers and obtain tokens with additional privileges. This can allow them to access the site as another user, up to full administrative access.\n\nThis vulnerability is mitigated by the fact that an attacker must have a role with the *Add consumer entities* or *Update own consumer entities* permissions.",
  "id": "DRUPAL-CONTRIB-2026-296",
  "modified": "2026-11-04T20:30:02.733765315Z",
  "published": "2026-11-04T17:31:20Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://www.drupal.org/sa-contrib-2026-296"
    }
  ],
  "schema_version": "1.9.2"
}
View JSON API Download JSON