CVE-2026-118669

Source
https://cve.org/CVERecord?id=CVE-2026-118669
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-118669.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-118669
Aliases
Downstream
ALSA (1)
AZL (1)
CGA (6)
DEBIAN (1)
DHI (1)
ECHO (1)
MINI (3)
openSUSE (1)
RHSA (3)
RLSA (1)
ROOT (1)
UBUNTU (1)
Related
Published
2026-10-28T21:09:58Z
Modified
2026-11-16T18:12:22Z
Severity
  • 8.4 (High) CVSS_V4 - 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 CVSS Calculator
Summary
OAuthLib: Token grants can use attacker-supplied client_id for authorization after authenticating a different client
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-863"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118669.json"
}
References

Affected packages

Git / github.com/oauthlib/oauthlib

Affected ranges

Type
GIT
Repo
https://github.com/oauthlib/oauthlib
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "4.0.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "c951a1d09f99f14e3240973fa83c4f4287d4753d"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "v4.0.0",
            "range":  [
                {
                    "fixed":  "145a9a4690cb4d9de30d15fcc2984e34c49df741"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

0.*
0.0.2
0.1.0
0.1.1
0.1.2
0.1.4
0.2.0
0.2.1
0.3.0
0.3.2
0.3.3
0.3.4
0.3.5
0.3.6
0.3.7
0.3.8
0.4.0
0.4.1
0.4.2
0.5.0
0.5.1
0.6.0
0.6.1
0.6.2
0.6.3
0.7.0
0.7.1
0.7.2
1.*
1.0.0
1.0.1
1.0.2
1.0.3
1.1.0
1.1.1
v0.*
v0.0.1
v1.*
v1.1.2
v2.*
v2.0.0
v2.0.1
v2.0.2
v2.0.3
v2.0.4
v2.0.5
v3.*
v3.0.0
v3.0.1
v3.1.0
v3.3.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-118669.json"