OAuthLib token grants can authorize with another client's identity
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Partial Red Hat: 1 fixed, 21 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-863.
Summary
OAuthLib before 4.0.0 is affected. The client_credentials and Resource Owner Password Credentials token grant handlers can authenticate one confidential client while still using an attacker-supplied client_id for grant and scope validation (CWE-863). A lower-privilege authenticated client can cause tokens with unauthorized grants or scopes to be issued when the application validator relies on client_id, while validators that authorize only from request.client may not be affected.
Written with Claude Haiku 5.5 from the sources below · 2026-11-04
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| oauthlib | oauthlib | before 4.0.0 | 4.0.0 | Patch available | CNA |
| — | oauthlib (PyPI) | before 4.0.0 | 4.0.0 | Patch available | GHSA-7984-qgvg-3j9c |
- oauthlib Vendoroauthlib Affected before 4.0.0 Fixed in 4.0.0 Patch available CNA
- oauthlib (PyPI) Vendor— Affected before 4.0.0 Fixed in 4.0.0 Patch available GHSA-7984-qgvg-3j9c
Remediation
Upgrade oauthlib to version 4.0.0, which fixes the flaw on PyPI. Red Hat fixes it for Red Hat Discovery 2 in RHSA-2026:94802. The sources list no fixed version for Confidential Compute Attestation, Fence Agents Remediation Operator, Lightspeed Core, Lightspeed Services for Advanced Cluster Management and Migration Toolkit for Applications 8, and other products. Red Hat has no fix planned for Migration Toolkit for Containers.
Written with Claude Haiku 5.5 from the sources below · 2026-11-04
- Fix · CNA oauthlib (oauthlib) Fixed in 4.0.0
- Fix · GHSA-7984-qgvg-3j9c oauthlib (PyPI) Fixed in 4.0.0 Advisory →
Red Hat 1 advisory
- RHSA-2026:94802 Released 2026-11-04 · Red Hat rating CriticalA Subscription Management tool for finding and reporting Red Hat product usage
- Red Hat Discovery 2 registry.redhat.io/discovery/discovery-server-rhel9, registry.redhat.io/discovery/discovery-ui-rhel9
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Confidential Compute Attestation | Affected | No fix yet |
| Fence Agents Remediation Operator | Affected | No fix yet |
| Lightspeed Core | Affected | No fix yet |
| Lightspeed Services for Advanced Cluster Management | Affected | No fix yet |
| Migration Toolkit for Applications 8 | Affected | No fix yet |
| Migration Toolkit for Containers | Affected | No fix planned: Will not fix |
| Migration Toolkit for Virtualization | Affected | No fix yet |
| OpenShift Lightspeed | Affected | No fix yet |
| Red Hat AI Inference Server | Affected | No fix yet |
| Red Hat Ansible Automation Platform 2 | Affected | No fix yet |
| Red Hat Enterprise Linux 10 | Affected | No fix yet |
| Red Hat Enterprise Linux 8 | Affected | No fix yet |
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | Affected | No fix yet |
| Red Hat Lightspeed Services for OCP | Affected | No fix yet |
| Red Hat OpenShift AI (RHOAI) | Affected | No fix yet |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet |
| Red Hat OpenShift Virtualization 4 | Affected | No fix yet |
| Red Hat Quay 3 | Affected | No fix yet |
| Red Hat Satellite 6 | Affected | No fix yet |
| Red Hat Discovery 2 | Fixed | RHSA-2026:94802 |
Not affected: 7 products
- OpenShift Service Mesh 3
- Pen Drive Powered by Red Hat Lightspeed
- Red Hat Advanced Cluster Management for Kubernetes 2
- Red Hat Ansible Automation Platform 2
- Red Hat Discovery 2
- Red Hat OpenShift AI (RHOAI)
- Service Telemetry Framework 1.5
Timeline
- 2026-10-28 Threatist record created from CVE-2026-118669
- 2026-10-30 Priority changed: MEDIUM → LOW
- 2026-10-30 Affected versions changed · Red Hat
- 2026-10-30 CVSS score added · Red Hat
- 2026-10-30 Alias added: GHSA-7984-qgvg-3j9c
- 2026-10-30 Fix available: PyPI/[email protected] · GHSA-7984-qgvg-3j9c
- 2026-10-30 CVSS score added · GHSA-7984-qgvg-3j9c
- 2026-10-30 Weakness changed · GHSA-7984-qgvg-3j9c
- 2026-10-30 6 new references · GHSA-7984-qgvg-3j9c
- 2026-11-03 CISA SSVC decision points changed
- 2026-11-03 Priority changed: LOW → HIGH
- 2026-11-04 Affected versions changed · Red Hat
- 2026-11-04 Fix available: RHSA-2026:94802 · Red Hat
- 2026-11-04 Fix available: Red Hat Discovery 2 · Red Hat
References
Other 5
More oauthlib vulnerabilities
- TI-2026-85670 Missing device code check in OAuthLib lets callers get bearer tokens CVSS 3.1HIGH 8.5
- TI-2026-71760 Unsafe JSONP callback injection in OAuthLib RevocationEndpoint CVSS 3.1MEDIUM 6.1
- TI-2026-71761 Timing side channel in OAuthLib PKCE code_verifier comparison CVSS 3.1MEDIUM 6.8
Sources
- CVE-2026-118669 · CVE Program
- CVE-2026-118669 · NVD
- FIRST EPSS
- GHSA-7984-qgvg-3j9c · GitHub Advisory Database · CC BY 4.0
- CVE-2026-118669 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences