USN-9188-1: OAuthLib vulnerabilities
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/python3-oauthlibto a version that resolves this vulnerability.Fixed in 3.3.1-2ubuntu0.1 - Upgrade
Upgrade
ubuntu/python3-oauthlibto a version that resolves this vulnerability.Fixed in 3.3.1-1ubuntu0.1 - Upgrade
Upgrade
ubuntu/python3-oauthlibto a version that resolves this vulnerability.Fixed in 3.2.2-1ubuntu0.1 - Upgrade
Upgrade
ubuntu/python3-oauthlibto a version that resolves this vulnerability.Fixed in 3.2.0-1ubuntu0.2 - Upgrade
Upgrade
ubuntu/python3-oauthlibto a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/python-oauthlibto a version that resolves this vulnerability.Fixed in Ubuntu Pro
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which Ubuntu releases are explicitly affected by the PKCE timing issue?
CVE-2026-49265 is explicitly stated to affect Ubuntu 26.10, Ubuntu 26.04 LTS, Ubuntu 24.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 20.04 LTS.
Which releases are affected by the device authorization workflow issue?
CVE-2026-49272 is explicitly limited to Ubuntu 26.10 and Ubuntu 26.04 LTS. The issue can allow a remote attacker to obtain a token without completing device authorization.
What authorization flows are relevant when assessing exposure?
Assess whether OAuthLib is used for token revocation with JSONP callbacks, PKCE verification, client identity validation, or device authorization workflows. The advisory associates separate impacts with each of these areas, including code execution in a client application, account takeover, authorization bypass, and device-flow token issuance.
Does the advisory provide a release-specific scope for every issue?
No. It gives explicit Ubuntu release limitations for CVE-2026-49265 and CVE-2026-49272 only. No release-specific limitation is provided in the advisory text for CVE-2026-49264 or CVE-2026-118669.