// Security Advisory Triage

oauthlib token grants accept attacker-supplied client_id after authentication

GitHub advisories — pip · published 2026-11-01 06:07 UTC
ACTION NEEDED PATCH_NOW SECURITY
WHAT CHANGEDCVE-2026-118669 published 30 October 2026 describes a vulnerability in oauthlib where token grants can use an attacker-supplied client_id for authorization after authenticating a different client. GitHub rates this high severity. First patched version is 4.0.0.
WHY IT MATTERSAn attacker can substitute their own client_id during token issuance after a legitimate client has authenticated, bypassing OAuth authorization controls. This affects any service using oauthlib for identity, SSO, or API gateway authentication.
WHAT TO DOCheck whether you run oauthlib below 4.0.0 in identity, SSO, or API gateway services. If yes, update to oauthlib 4.0.0 or later this cycle.
Model-reported confidence 85% (not measured accuracy) Primary source ↗ written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+ghsa_id: GHSA-7984-qgvg-3j9c
+summary: OAuthLib: Token grants can use attacker-supplied client_id for authorization after authenticating a different client
+severity: high
+published_at: 2026-10-30T22:58:16Z
+cve_id: CVE-2026-118669
+vulnerabilities[].package.name: oauthlib
+vulnerabilities[].first_patched_version: 4.0.0
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMATERIAL at 0.92, needed 0.5
triage reasoningOAuth token grant vulnerability affecting authentication. oauthlib is a core dependency in identity and API infrastructure.
signalsOAuth library vulnerability · client_id substitution in token grants · authentication bypass pattern · high severity rating · first patched version identified (4.0.0) · oauthlib is in dependency trees of identity, SSO, and API gateway services
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)