
🚨HIGH - OAuthLib client_id/request.client Mixup Token Scope Confusion (CVE-2026-118669) In OAuthLib <4.0.0, the client_credentials and password grant handlers can authenticate a confidential client into request.client but keep an attacker-controlled request.client_id from validate_grant_type/validate_scopes. A lower-privileged client can trigger authorization decisions using another client’s identity, leading to tokens issued with unauthorized grants/scopes. 👉Affected: oauthlib < 4.0.0 | Upgrade to 4.0.0
