# CVE-2025-31691: OAuth2 Server - Moderately critical - Access bypass - SA-CONTRIB-2025-020

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Published: 2025-02-26T18:35:21.000Z
- Modified: 2026-09-10T03:46:09.150Z
- Also known as: GHSA-4f8q-mwgc-3mwc, DRUPAL-CONTRIB-2025-020
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: drupal

## Description

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

(As written by CVE List.)

## Affected

- Drupal OAuth2 Server: from 0.0.0 before 2.1.0
- drupal/oauth2_server (Packagist): before 2.1.0
- drupal/oauth2_server (Packagist:https://packages.drupal.org/8): before 2.1.0
- oauth2_server_project oauth2_server: before 2.1.0

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `CVSS: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`

## References

- <https://www.drupal.org/sa-contrib-2025-020> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-31691> (advisory)
- <https://git.drupalcode.org/project/oauth2_server> (package)

## Sources

- CVE List: [CVE-2025-31691](https://www.cve.org/CVERecord?id=CVE-2025-31691), CVE Terms of Use, modified 2025-04-29
- GitHub Advisory Database: [GHSA-4f8q-mwgc-3mwc](https://github.com/advisories/GHSA-4f8q-mwgc-3mwc), CC-BY-4.0, modified 2025-12-10
- Drupal Security Team: [DRUPAL-CONTRIB-2025-020](https://osv.dev/vulnerability/DRUPAL-CONTRIB-2025-020), MIT, modified 2026-09-10
- NVD: [CVE-2025-31691](https://nvd.nist.gov/vuln/detail/CVE-2025-31691), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-31691 · Whole record: https://cve.day/CVE-2025-31691.json · Rebuilt by cve.day 2026-11-25T22:58:55.756Z
