Ubuntu Security Notice
USN-9188-1
python-oauthlib vulnerabilities
Details
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. A remote attacker could possibly use this issue to obtain access tokens, resulting in an account takeover. This issue only affected Ubuntu 26.10, Ubuntu 26.04 LTS, Ubuntu 24.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 20.04 LTS. (CVE-2026-49265)
Strick Sheng discovered that OAuthLib incorrectly validated the client identity. A remote attacker could possibly use this issue to obtain tokens authorized under another client, bypassing token authorization. (CVE-2026-118669)
Kyle Hekhuis discovered that OAuthLib incorrectly validated device codes in the device authorization workflow. A remote attacker could possibly use this issue to obtain a token without completing device authorization. This issue only affected Ubuntu 26.10 and Ubuntu 26.04 LTS. (CVE-2026-49272)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:16.04:LTS | python-oauthlib | All versions before 1.0.3-1ubuntu0.1~esm1 (fixed in 1.0.3-1ubuntu0.1~esm1) |
| Ubuntu:Pro:18.04:LTS | python-oauthlib | All versions before 2.0.6-1ubuntu0.1~esm1 (fixed in 2.0.6-1ubuntu0.1~esm1) |
| Ubuntu:Pro:20.04:LTS | python-oauthlib | All versions before 3.1.0-1ubuntu2+esm1 (fixed in 3.1.0-1ubuntu2+esm1) |
| Ubuntu:22.04:LTS | python-oauthlib | All versions before 3.2.0-1ubuntu0.2 (fixed in 3.2.0-1ubuntu0.2) |
| Ubuntu:24.04:LTS | python-oauthlib | All versions before 3.2.2-1ubuntu0.1 (fixed in 3.2.2-1ubuntu0.1) |
| Ubuntu:26.10 | python-oauthlib | All versions before 3.3.1-2ubuntu0.1 (fixed in 3.3.1-2ubuntu0.1) |
| Ubuntu:26.04:LTS | python-oauthlib | All versions before 3.3.1-1ubuntu0.1 (fixed in 3.3.1-1ubuntu0.1) |