VYPR
High severityNVD Advisory· Published Mar 31, 2025· Updated Apr 29, 2025

OAuth2 Server - Moderately critical - Access bypass - SA-CONTRIB-2025-020

CVE-2025-31691

Description

Missing authorization in Drupal OAuth2 Server allows forceful browsing, enabling authentication bypass on disabled servers.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Missing authorization in Drupal OAuth2 Server allows forceful browsing, enabling authentication bypass on disabled servers.

Vulnerability

Overview

CVE-2025-31691 is a missing authorization vulnerability in the Drupal OAuth2 Server module, affecting versions before 2.1.0. The module fails to consistently enforce admin configurations, allowing users to access OAuth2 endpoints even when the server has been administratively disabled [1][2]. This constitutes a forceful browsing issue.

Exploitation

An attacker with network access to a Drupal site running the vulnerable module can exploit this flaw without authentication. By directly accessing OAuth2 endpoints, the attacker can bypass the server's disabled state and authenticate via OAuth2, gaining tokens and potentially accessing protected resources [2].

Impact

Successful exploitation results in unauthorized OAuth2 authentication, allowing an attacker to impersonate legitimate users, access private data, or perform actions on behalf of authenticated users. The CVSS severity is moderate, but the access bypass can lead to significant privilege escalation if the OAuth2 server is integrated with other systems.

Mitigation

The vulnerability is fixed in version 2.1.0 of the OAuth2 Server module. Users are strongly advised to upgrade immediately [2]. No workarounds are currently available.

AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
drupal/oauth2_serverPackagist
< 2.1.02.1.0

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

3

News mentions

0

No linked articles in our index yet.