Skip to content
Ubuntu OAuthLib Update Addresses OAuth Token and Code Risks

Ubuntu OAuthLib Update Addresses OAuth Token and Code Risks

Linuxsecurity •LinuxSecurity Advisories • November 23, 2026

Several security issues were fixed in OAuthLib. Software Description: - python-oauthlib: A generic, spec-compliant, thorough implementation of the OAuth request-signing logic 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. (C... Read the Full Advisory

Several security issues were fixed in OAuthLib.

Software Description:

- python-oauthlib: A generic, spec-compliant, thorough implementation of the OAuth request-signing logic

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.

The problem can be corrected by updating your system to the following package versions: Ubuntu 26.10 python3-oauthlib 3.3.1-2ubuntu0.1 Ubuntu 26.04 LTS python3-oauthlib 3.3.1-1ubuntu0.1 Ubuntu 24.04 LTS python3-oauthlib 3.2.2-1ubuntu0.1 Ubuntu 22.04 LTS python3-oauthlib 3.2.0-1ubuntu0.2 Ubuntu 20.04 LTS python3-oauthlib 3.1.0-1ubuntu2+esm1 Available with Ubuntu Pro Ubuntu 18.04 LTS python-oauthlib 2.0.6-1ubuntu0.1~esm1 Available with Ubuntu Pro python3-oauthlib 2.0.6-1ubuntu0.1~esm1 Available with Ubuntu Pro Ubuntu 16.04 LTS python-oauthlib 1.0.3-1ubuntu0.1~esm1 Available with Ubuntu Pro python3-oauthlib 1.0.3-1ubuntu0.1~esm1 Available with Ubuntu Pro In general, a standard system update will make all the necessary changes.

CVE-2026-118669, CVE-2026-49264, CVE-2026-49265, CVE-2026-49272

Ubuntu Security Notice USN-9188-1

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Linux Security - Your source for Top Linux News, Advisories, HOWTOs and Feature Releases

The full story

This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.

Ubuntu USN-9188-1 patches multiple OAuthLib flaws including token and PKCE issues Ubuntu published security notice USN-9188-1 on 2026-11-23 covering several vulnerabilities in python-oauthlib, which Linuxsecurity republished the same day. The notice lists CVE-2026-49264 (improper handling of JSONP callback parameters in the token revocation endpoint, which the advisory says could possibly lead to arbitrary code execution in a client application), CVE-2026-49265 (non-constant-time comparison of PKCE code verifiers, which could possibly allow access token theft and account takeover, affecting Ubuntu 20.04 through 26.10), CVE-2026-118669 (improper client identity validation that could possibly allow tokens authorized under another client to be obtained), and CVE-2026-49272 (improper validation of device codes in the device authorization workflow, possibly allowing a token without completing device authorization, affecting Ubuntu 26.04 LTS and 26.10). The advisory attributes discoveries to named researchers, including Elvin Latifli and Strick Sheng. Fixed package versions are listed for Ubuntu 26.10, 26.04 LTS, 24.04 LTS, 22.04 LTS, and 20.04 LTS (via Ubuntu Pro), with ESM fixes for 18.04 and 16.04 also available through Ubuntu Pro. The articles do not report exploitation in the wild. Known CVE dates indicate CVE-2026-49264 and CVE-2026-49265 were published 2026-10-13, CVE-2026-118669 on 2026-10-28 (with a first public PoC on 2026-11-09), and CVE-2026-49272 on 2026-11-05. The main remediation is a standard system update. 2 sources 64