Ubuntu fixes OAuthLib flaws that may steal tokens or run code
Original title: USN-9188-1: OAuthLib vulnerabilities
CVE-2026-49264 concerns JSONP callbacks; CVE-2026-49265 is a non-constant-time PKCE comparison on five Ubuntu releases.
Ubuntu published USN-9188-1 for OAuthLib. A remote attacker could possibly run arbitrary code in a client application through JSONP callback parameters on the token revocation endpoint (CVE-2026-49264). A non-constant-time PKCE verifier comparison could let an attacker obtain access tokens and take over accounts on listed Ubuntu releases (CVE-2026-49265). A third client-identity validation issue is mentioned, but the notice text is cut off.
Unconfirmed: Exploitation is described only as possible, and the client-identity finding is truncated with no CVE shown.
- CVE-2026-49264 involves JSONP callback handling on the token revocation endpoint.
- CVE-2026-49265 affects Ubuntu 26.10, 26.04 LTS, 24.04 LTS, 22.04 LTS and 20.04 LTS.
- Elvin Latifli reported the PKCE comparison; Strick Sheng reported client-identity validation.
- The notice states neither fixed versions nor known exploitation.
Impact: possible client code execution or access-token theft
| Product | Affected |
|---|---|
| Ubuntu OAuthLib | Ubuntu 26.10, Ubuntu 26.04 LTS, Ubuntu 24.04 LTS, Ubuntu 22.04 LTS, Ubuntu 20.04 LTS |
Vulnerabilities mentioned
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
CVE-2026-49265+1 related CVE | OAuthLib: 6+. From 3.0.0 until 4.0.0, OAuthLib's PKCE checks in oauthlib/oauth2/rfc6749/grant_types/authorization_code.py compare… | 6.8 group max | — |
From the original article
It was discovered that OAuthLib incorrectly handled JSONP callback parameters in the token revocation endpoint. A remote attacker could possibly use this issue to execute arbitrary code in a client application. (CVE-2026-49264) Elvin Latifli discovered that OAuthLib incorrectly compared PKCE code verifiers, using a comparison that was not constant-time.
ubuntu.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.