Oauthlib
Monthly
Client identity spoofing in OAuthLib before 4.0.0 allows an authenticated, lower-privilege confidential client to have its grant type and scope checks evaluated against a different, higher-privilege client's ID, potentially yielding access tokens carrying grants and scopes that were never assigned to it. The flaw exists in the client_credentials and Resource Owner Password Credentials token grant handlers, where the authenticated client object is stored in request.client but an attacker-supplied client_id from the request body is retained and passed as the first-class client_id argument to validate_grant_type() and validate_scopes(). Only deployments whose RequestValidator authorizes from that client_id argument are exposed; validators that authorize exclusively from request.client are not affected, and the attack cannot be performed unauthenticated, so practical exposure is limited to providers that host multiple clients with differing privilege levels. Fixed in version 4.0.0; the upstream GitHub advisory (GHSA-7984-qgvg-3j9c) includes a public proof-of-concept reproducer script against oauthlib 3.3.1, and there is no CISA KEV listing or confirmed in-the-wild exploitation in the supplied intelligence.
OAuthLib is an implementation of the OAuth request-signing logic for Python 3.6+. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.
Client identity spoofing in OAuthLib before 4.0.0 allows an authenticated, lower-privilege confidential client to have its grant type and scope checks evaluated against a different, higher-privilege client's ID, potentially yielding access tokens carrying grants and scopes that were never assigned to it. The flaw exists in the client_credentials and Resource Owner Password Credentials token grant handlers, where the authenticated client object is stored in request.client but an attacker-supplied client_id from the request body is retained and passed as the first-class client_id argument to validate_grant_type() and validate_scopes(). Only deployments whose RequestValidator authorizes from that client_id argument are exposed; validators that authorize exclusively from request.client are not affected, and the attack cannot be performed unauthenticated, so practical exposure is limited to providers that host multiple clients with differing privilege levels. Fixed in version 4.0.0; the upstream GitHub advisory (GHSA-7984-qgvg-3j9c) includes a public proof-of-concept reproducer script against oauthlib 3.3.1, and there is no CISA KEV listing or confirmed in-the-wild exploitation in the supplied intelligence.
OAuthLib is an implementation of the OAuth request-signing logic for Python 3.6+. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.