Skip to content
AIBRAINWORX / OpenSourceCoder.comLOCAL-FIRST. BUILT IN THE OPEN.
Linux & Systems / Developer & Agent Tools / Linux

Canonical Patches Four OAuthLib Vulnerabilities in USN-9188-1 Across Seven Ubuntu Releases

Ubuntu Security Notice USN-9188-1 resolves four OAuthLib defects affecting JSONP revocation callbacks, PKCE verification timing, client identity checks, and device authorization across Ubuntu 16.04 LTS through 26.10.

Listen to this articleBrowser Voice
Ready
Official company logo or product image for canonical-patches-four-oauthlib-vulnerabilities-usn-9188-1
Official image or organization logo from ubuntu.com; identification only, no endorsement.
Event / context: 2026-11-23. Source check: October 28, 2026.

Core Announcement and Release Scope

Canonical has published Ubuntu Security Notice USN-9188-1, addressing four security vulnerabilities in the distribution's OAuthLib packages on November 23, 2026. The advisory covers the python-oauthlib source package—described in Ubuntu's archive as a generic, specification-compliant implementation of OAuth request-signing logic—and delivers remediations spanning seven Ubuntu releases from 16.04 LTS through 26.10. Because OAuthLib underpins token issuance, authorization checks, and request validation in Python web applications, flaws in its core protocol handlers carry direct risks for session security and client isolation.

Rather than concentrating on a single component, the four tracked defects span distinct stages of the OAuth lifecycle: token revocation endpoints, Proof Key for Code Exchange (PKCE) verification, client identity enforcement, and the device authorization workflow. Standard system updates apply the fixes on currently supported releases, while extended-support LTS branches rely on Ubuntu Pro entitlements.

Vulnerability Architecture and Protocol Flaws

The four Common Vulnerabilities and Exposures entries documented in USN-9188-1 target separate validation and comparison mechanisms inside OAuthLib:

  • CVE-2026-49264 (JSONP callback handling): OAuthLib improperly handled JSONP callback parameters within its token revocation endpoint. According to the notice, a remote attacker could possibly exploit this flaw to execute arbitrary code inside a client application when revocation responses are processed in browser contexts.
  • CVE-2026-49265 (Non-constant-time PKCE verification): Discovered by Elvin Latifli, this defect involves comparing PKCE code verifiers using a method that is not constant-time. Timing side-channel differences during comparison could possibly allow a remote attacker to obtain access tokens and trigger an account takeover. Canonical notes this issue affected only Ubuntu 26.10, 26.04 LTS, 24.04 LTS, 22.04 LTS, and 20.04 LTS.
  • CVE-2026-118669 (Client identity validation): Reported by Strick Sheng, this flaw stems from improper validation of client identity, potentially enabling a remote attacker to obtain tokens authorized under another client and bypass token authorization boundaries.
  • CVE-2026-49272 (Device code validation): Discovered by Kyle Hekhuis, this vulnerability affects device code validation inside the device authorization workflow, potentially allowing a remote attacker to obtain a token without completing device authorization. Canonical states this defect affected only Ubuntu 26.10 and Ubuntu 26.04 LTS.

Patched Package Matrix Across Ubuntu Releases

Canonical issued updated python3-oauthlib and legacy python-oauthlib binary packages aligned with each release branch. For standard and active LTS releases, administrators can retrieve the fixes through routine APT upgrades:

  • Ubuntu 26.10 (stonking): python3-oauthlib version 3.3.1-2ubuntu0.1
  • Ubuntu 26.04 LTS (resolute): python3-oauthlib version 3.3.1-1ubuntu0.1
  • Ubuntu 24.04 LTS (noble): python3-oauthlib version 3.2.2-1ubuntu0.1
  • Ubuntu 22.04 LTS (jammy): python3-oauthlib version 3.2.0-1ubuntu0.2

Older long-term support releases receive backported patches under Ubuntu Pro Extended Security Maintenance (ESM):

  • Ubuntu 20.04 LTS (focal): python3-oauthlib version 3.1.0-1ubuntu2+esm1 via Ubuntu Pro
  • Ubuntu 18.04 LTS (bionic): python-oauthlib and python3-oauthlib version 2.0.6-1ubuntu0.1~esm1 via Ubuntu Pro
  • Ubuntu 16.04 LTS (xenial): python-oauthlib and python3-oauthlib version 1.0.3-1ubuntu0.1~esm1 via Ubuntu Pro with the Legacy Support add-on

Impact on Python Services and Developer Workflows

For engineering teams operating Django, Flask, or custom Python authentication servers backed by distribution-packaged OAuthLib, deploying the updated DEB packages requires restarting long-running WSGI or ASGI worker processes so patched modules reload into memory. Teams shipping Ubuntu-based container images must rebuild and redeploy application images rather than relying solely on host-level patching, verifying that container layers pull the exact patched versions specified in USN-9188-1.

An equally important operational boundary applies to dependency management. Canonical's notice covers OS-packaged python-oauthlib and python3-oauthlib binaries managed via APT. Python services that bundle oauthlib inside isolated virtual environments, Poetry lockfiles, or PyPI-sourced pip builds will not receive these Canonical backports automatically and must verify their upstream PyPI package versions independently.

Operational Caveats, Licensing, and Disclosure Limits

Exposure varies significantly by deployment architecture. Canonical uses qualified risk language across all four CVEs, noting that an attacker could possibly exploit each issue depending on whether an application exposes JSONP-enabled token revocation, relies on PKCE flows, manages multi-client authorization, or implements the OAuth device authorization workflow. USN-9188-1 does not publish CVSS numerical scores, upstream commit references, or runtime latency benchmarks for the constant-time PKCE comparison fix.

From a support and licensing standpoint, Ubuntu Pro provides ten-year security coverage across more than 25,000 packages in Main and Universe repositories and remains free for up to five machines. Small open-source operators running Ubuntu 20.04 LTS or 18.04 LTS can obtain the ESM updates without cost within that threshold, while larger fleets and systems remaining on Ubuntu 16.04 LTS require commercial Ubuntu Pro subscriptions and, for xenial, the Legacy Support add-on.

Automated Vertex AI (gemini-4-hydrogen) primary-source report; reviewed 2026-11-23.

Follow your curiosity.

Pass the signal.