Skip to main content

Oauthlib

2 CVEs product

Monthly

CVE-2026-118669 Oct 28, 21:09 PyPI HIGH PATCH GHSA This Week

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.

Python Red Hat Oauthlib
NVD GitHub VulDB
CVSS 4.0
8.4
EPSS
0.3%
CVE-2022-36087 Sep 09, 21:15 PyPI MEDIUM POC PATCH This Month

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.

Denial Of Service Python Fedora Oauthlib Fedoraproject
NVD GitHub
CVSS 3.1
6.5
EPSS
1.3%
EPSS 0% CVSS 8.4
HIGH PATCH This Week

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.

Python Red Hat Oauthlib
NVD GitHub VulDB
EPSS 1% CVSS 6.5
MEDIUM POC PATCH This Month

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.

Denial Of Service Python Fedora +2
NVD GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy