Home / Advisories / CVE-2025-31691 CVE-2025-31691: Provides OAuth2 server functionality based on the oauth2-server-php library.
The module does not consistently enforce a critical Affects drupal/oauth2_server . Feed 2026.11.23.2, updated 2026-11-23; published 2025-02-26 ; advisory modified 2026-09-10 .
Provides OAuth2 server functionality based on the oauth2-server-php library.
The module does not consistently enforce a Package drupal/oauth2_server Composer Affected versions <2.1.0Fixed in 2.1.0Severity critical CVSS 9.8 Exploitation not on CISA KEV · EPSS 0% (38.4th percentile) Published 2025-02-26 Source osv.dev References Quick answers Is CVE-2025-31691 being actively exploited?
It is not on CISA's Known Exploited Vulnerabilities list today.
Which version fixes CVE-2025-31691?
drupal/oauth2_server: 2.1.0.
How do I check whether I am affected?
Run `phpwarden deps composer.lock`. phpwarden checks the exact version you have installed against this advisory.
Am I affected? Find out in one command. phpwarden checks your composer.lock against this advisory and 21,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.
# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden deps composer.lock
# or, without Composer
pipx install phpwarden && phpwarden deps composer.lockOr keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command
Install docs How findings are ranked Related advisories CVE-2022-1329 high The Elementor Website Builder plugin for WordPress is vulnerable to unauthorized execution same weakness: CWE-862 CVE-2023-6875 critical The POST SMTP Mailer – Email log, Delivery Failure Notifications and Best Mail SMTP for Wo same weakness: CWE-862 CVE-2020-8772 critical The InfiniteWP Client plugin before 1.9.4.5 for WordPress has a missing authorization chec same weakness: CWE-862 CVE-2019-19985 medium The WordPress plugin, Email Subscribers & Newsletters, before 4.2.3 had a flaw that allowe same weakness: CWE-862 CVE-2022-0218 high The WP HTML Mail WordPress plugin is vulnerable to unauthorized access which allows unauth same weakness: CWE-862 CVE-2024-1380 medium The Relevanssi – A Better Search plugin for WordPress is vulnerable to unauthorized access same weakness: CWE-862