# CVE-2026-118669: OAuthLib: Token grants can use attacker-supplied client_id for authorization after authenticating a different client

- Severity: High 8.4 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 32% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-28T21:09:58.893Z
- Modified: 2026-11-03T14:17:32.237Z
- Also known as: GHSA-7984-qgvg-3j9c
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- oauthlib oauthlib: < 4.0.0
- oauthlib (PyPI): before 4.0.0

## Every score

- GitHub_M: CVSS:4.0 8.4 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N`

## References

- <https://github.com/oauthlib/oauthlib/security/advisories/GHSA-7984-qgvg-3j9c> (exploit, web)
- <https://github.com/oauthlib/oauthlib/pull/920> (web)
- <https://github.com/oauthlib/oauthlib/commit/c951a1d09f99f14e3240973fa83c4f4287d4753d> (web)
- <https://github.com/oauthlib/oauthlib/releases/tag/v4.0.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-118669> (advisory)
- <https://github.com/oauthlib/oauthlib> (package)

## Sources

- CVE List: [CVE-2026-118669](https://www.cve.org/CVERecord?id=CVE-2026-118669), CVE Terms of Use, modified 2026-11-03
- GitHub Advisory Database: [GHSA-7984-qgvg-3j9c](https://github.com/advisories/GHSA-7984-qgvg-3j9c), CC-BY-4.0, modified 2026-10-30
- NVD: [CVE-2026-118669](https://nvd.nist.gov/vuln/detail/CVE-2026-118669), Public domain, modified 2026-11-03

---

Page: https://cve.day/CVE-2026-118669 · Whole record: https://cve.day/CVE-2026-118669.json · Rebuilt by cve.day 2026-11-25T22:59:47.697Z
