CVE-2026-118669

High

Description

OAuthLib is an implementation of the OAuth request-signing logic for Python 3.6+. Prior to 4.0.0, the client_credentials and Resource Owner Password Credentials token grant handlers can authenticate request.client as one confidential client while retaining an attacker-supplied request.client_id for validate_grant_type and validate_scopes. A lower-privilege authenticated client can therefore cause grant and scope authorization to use another client's identity when an application validator relies on the documented client_id argument, potentially issuing tokens with unauthorized grants or scopes. Validators that authorize exclusively from request.client may not be affected. This issue is fixed in version 4.0.0.

SeverityHigh
CVSS8.4
Exploit probability—
ProductOauthlib
PublishedOct 28, 2026
First seenNov 4, 2026

How to fix

Update
  • oauthlib4.0.0 or later

Affected products

ProductAffected versionsFixed in
oauthlibPyPIv < 4.0.04.0.0
microsoft azl3_python-oauthlib_3.2.2-4No range specified—
microsoft azl3_python-oauthlib_3.2.2-3No range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-118669 · Oauthlib · Dark Radar