CVE-2025-12466: Drupal/simple oauth Authentication Bypass Vulnerability

HIGH
Advisory Identifier: GHSA-jqmq-fpwv-p925
CVSS 7.5
CWE-288
Published
Advisory Summary

CVE-2025-12466 is a HIGH (CVSS 7.5) authentication bypass vulnerability (CWE-288: Authentication Bypass Using an Alternate Path or Channel) affecting Drupal/simple oauth libraries in the Packagist ecosystem. The issue involves drupal simple oauth (oauth2) & openid connect allows authentication bypass. Remediation is available by upgrading affected packages to version 6.0.7.

CVE-2025-12466 at a Glance

CVE Identifier CVE-2025-12466
GHSA Identifier GHSA-jqmq-fpwv-p925
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-288: Authentication Bypass Using an Alternate Path or Channel
Affected Product Drupal/simple oauth
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2025-12466

To remediate this vulnerability, upgrade all affected Drupal/simple oauth dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

drupal/simple_oauth fixed: 6.0.7
Upgrade drupal/simple_oauth to 6.0.7
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for drupal/simple_oauth

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-12466, inspect your project dependencies for Drupal/simple oauth:

inspect dependencies for drupal/simple_oauth

Analyze the terminal output to locate any version of Drupal/simple oauth in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.0.7), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-288: Authentication Bypass Using an Alternate Path or Channel, where the product requires authentication, but the product has an alternate path or channel that does not require authentication. In Drupal/simple oauth, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Authentication Bypass Using an Alternate Path or Channel vulnerability in Drupal Simple OAuth (OAuth2) & OpenID Connect allows Authentication Bypass. This issue affects Simple OAuth (OAuth2) & OpenID Connect: from 6.0.0 before 6.0.7.

CVE-2025-12466 Affected Drupal/simple oauth Versions

1 component(s)
Fixed Versions:
6.0.7
Product / Package Ecosystem Affected Versions Fixed Version
drupal/simple_oauth
Packagist
≥ 6.0.0
< 6.0.7
6.0.7

References

Frequently Asked Questions

What is CVE-2025-12466?
CVE-2025-12466 is a security vulnerability in Drupal/simple oauth involving Drupal Simple OAuth (OAuth2) & OpenID Connect allows Authentication Bypass under CWE-288: Authentication Bypass Using an Alternate Path or Channel.
Which Drupal/simple oauth versions are affected?
Affected versions include releases prior to 6.0.7 across affected packages: drupal/simple_oauth.
What version fixes CVE-2025-12466?
Upgrading to 6.0.7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is drupal/simple_oauth affected?
Yes, drupal/simple_oauth is affected in releases prior to 6.0.7. Upgrade your dependency to 6.0.7 or later.
What is the CVSS score of CVE-2025-12466?
CVE-2025-12466 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2025-12466?
CVE-2025-12466 is classified under CWE-288: Authentication Bypass Using an Alternate Path or Channel (The product requires authentication, but the product has an alternate path or channel that does not require authentication.).
How can I check Packagist dependencies for CVE-2025-12466?
Run the dependency tree command: 'inspect dependencies for drupal/simple_oauth'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-jqmq-fpwv-p925",
  "modified" : "2025-10-30T17:06:19Z",
  "published" : "2025-10-30T00:31:04Z",
  "aliases" : [ "CVE-2025-12466" ],
  "summary" : "Drupal Simple OAuth (OAuth2) & OpenID Connect allows Authentication Bypass",
  "details" : "Authentication Bypass Using an Alternate Path or Channel vulnerability in Drupal Simple OAuth (OAuth2) & OpenID Connect allows Authentication Bypass. This issue affects Simple OAuth (OAuth2) & OpenID Connect: from 6.0.0 before 6.0.7.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "drupal/simple_oauth"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.0.0"
      }, {
        "fixed" : "6.0.7"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-12466"
  }, {
    "type" : "WEB",
    "url" : "https://www.drupal.org/sa-contrib-2025-114"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-288" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-10-30T17:06:19Z",
    "nvd_published_at" : "2025-10-30T00:15:34Z"
  }
}