CVE-2026-118669: oauthlib · Incorrect Authorization
Affects oauthlibSource CVE Database V5
Not known to be exploited · CVSS 8.4 High : upgrade to 4.0.0 soon.
Data as of 28 Oct 2026, 21:42 UTC
- Patch
- Available – fixed in 4.0.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 28 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade oauthlib to 4.0.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| oauthliboauthlib | Affected
| Fixed in
|
PyPIoauthlibpkg:pypi/oauthlibOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade OAuthLib to version 4.0.0 or later, where this authorization flaw is fixed. Validators that authorize exclusively from request.client are not affected, but it is recommended to apply the official fix to ensure correct authorization behavior. No other mitigations are indicated by the vendor advisory.
Description
OAuthLib versions prior to 4.0.0 contain an incorrect authorization vulnerability in the client_credentials and Resource Owner Password Credentials token grant handlers. This flaw allows a lower-privilege authenticated client to impersonate another client by supplying a different client_id, potentially resulting in issuance of tokens with unauthorized grants or scopes. The issue is resolved in version 4.0.0.
References
- github.com/oauthlib/oauthlib/security/advisories/GHSA-7984-qgvg-3j9c (opens in a new tab)
- github.com/oauthlib/oauthlib/pull/920 (opens in a new tab)
- github.com/oauthlib/oauthlib/commit/c951a1d09f99f14e3240973fa83c4f4287d4753d (opens in a new tab)
- github.com/oauthlib/oauthlib/releases/tag/v4.0.0 (opens in a new tab)