CVE-2025-31691
JSON

9.8critical

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

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.43% (higher than 39% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
drupal
Also known as
GHSA-4f8q-mwgc-3mwcDRUPAL-CONTRIB-2025-020

Description

Missing Authorization vulnerability in Drupal OAuth2 Server allows Forceful Browsing.This issue affects OAuth2 Server: from 0.0.0 before 2.1.0.

Affected

Product or packageVersionsReported by
Drupal OAuth2 Serverfrom 0.0.0 before 2.1.0CVE List
drupal/oauth2_server (Packagist)before 2.1.0GitHub Advisory Database
drupal/oauth2_server (Packagist:https://packages.drupal.org/8)before 2.1.0Drupal Security Team
oauth2_server_project oauth2_serverbefore 2.1.0NVD

All scores

CISA-ADP9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub9.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U

Classification

CWE-862

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

Missing Authorization vulnerability in Drupal OAuth2 Server allows Forceful Browsing.This issue affects OAuth2 Server: from 0.0.0 before 2.1.0.

GitHub Advisory Database

Missing Authorization vulnerability in Drupal OAuth2 Server allows Forceful Browsing. This issue affects OAuth2 Server: from 0.0.0 before 2.1.0.

Drupal Security Team

Provides OAuth2 server functionality based on the oauth2-server-php library.

The module does not consistently enforce admin configurations allowing users on a disabled server to still authenticate.

NVD (es)

La vulnerabilidad de autorización faltante en Drupal OAuth2 Server permite la navegación forzada. Este problema afecta al servidor OAuth2: desde la versión 0.0.0 hasta la 2.1.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-31691 changed 2025-04-29CVE Terms of Use
GitHub Advisory DatabaseGHSA-4f8q-mwgc-3mwc changed 2025-12-10CC-BY-4.0
Drupal Security TeamDRUPAL-CONTRIB-2025-020 changed 2026-09-10MIT
NVDCVE-2025-31691 changed 2026-06-17Public domain