CVE-2026-118669: OAuthLib: Token grants can use attacker-supplied client_id for authorization after authenticating a different client
Vulnerability summary
CVE-2026-118669 is a high (CVSS 8.4) Incorrect Authorization vulnerability in oauthlib. EPSS estimates a 0.37% chance of exploitation in the next 30 days, higher than 32.7% of scored vulnerabilities.
Not severe (CVSS 8.4, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 2Timeline
- 28-10-2026PublishedVulnerability first disclosed.
- 03-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 7 sources · 2 versions- NVDNIST8.4HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · DebianEcosystem advisory · calculated8.4HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · PypiEcosystem advisory · calculated8.4HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N
- OSV · UbuntuEcosystem advisory · calculated8.4HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N
- OSV · ChainguardEcosystem advisory · calculated8.4HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N
EPSS trend
Probability
0.37%
Chance of exploitation in the next 30 days
Percentile
33%
Versus all other CVEs
30-day change
Increase +0.06 pp
From 0.31% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat72 products
- fence-agents< 0:4.16.0-21.el10_2.9 | < 0:4.10.0-122.el9_9.3
- fence-agents-aliyun< 0:4.16.0-21.el10_2.9 | < 0:4.10.0-122.el9_9.3
- fence-agents-all< 0:4.16.0-21.el10_2.9 | < 0:4.10.0-122.el9_9.3
- fence-agents-amt-ws< 0:4.16.0-21.el10_2.9 | < 0:4.10.0-122.el9_9.3
- fence-agents-apc< 0:4.16.0-21.el10_2.9 | < 0:4.10.0-122.el9_9.3
Chainguard3 products
- airflow-2All versions (No fix recorded)
- datadog-agent-fips-7.78-core-integrationsAll versions (No fix recorded)
- datadog-agent-fips-7.83-core-integrationsAll versions (No fix recorded)
Debian1 product
- python-oauthlibAll versions (No fix recorded)
Oauthlib1 product
- oauthlib< 4.0.0
PyPI1 product
- oauthlib< 4.0.0
Ubuntu1 product
- python-oauthlibAll versions (No fix recorded) | < 1.0.3-1ubuntu0.1~esm1 | < 2.0.6-1ubuntu0.1~esm1 | < 3.1.0-1ubuntu2+esm1 | < 3.2.0-1ubuntu0.2 | < 3.2.2-1ubuntu0.1 | < 3.3.1-2ubuntu0.1 | < 3.3.1-1ubuntu0.1
6 vendors · 79 products
References
46 links- github.com/oauthlib/oauthlib/security/advisories/GHSA-7984-qgvg-3j9cX Refsource CONFIRMWEBREPORTAdvisoryARTICLE
- github.com/oauthlib/oauthlib/commit/c951a1d09f99f14e3240973fa83c4f4287d4753dX Refsource MISCWEBREPORTFIXARTICLE
- github.com/oauthlib/oauthlibPACKAGE