UbuntuUpdates.org

Package "python3-oauthlib"

Name: python3-oauthlib

Description:

generic, spec-compliant implementation of OAuth for Python3

Latest version: 3.3.1-1ubuntu0.1
Release: resolute (26.04)
Level: security
Repository: main
Head package: python-oauthlib
Homepage: https://github.com/idan/oauthlib

Links


Download "python3-oauthlib"


Other versions of "python3-oauthlib" in Resolute

Repository Area Version
base main 3.3.1-1build1
updates main 3.3.1-1ubuntu0.1

Changelog

Version: 3.3.1-1ubuntu0.1 2026-11-23 20:40:18 UTC

python-oauthlib (3.3.1-1ubuntu0.1) resolute-security; urgency=medium

  * SECURITY UPDATE: XSS via JSONP callback injection
    - debian/patches/CVE-2026-49264.patch: remove the unsafe JSONP support
      from token revocation in oauthlib/oauth2/rfc6749/clients/base.py,
      oauthlib/oauth2/rfc6749/endpoints/revocation.py,
      oauthlib/oauth2/rfc6749/parameters.py,
      tests/oauth2/rfc6749/clients/test_base.py,
      tests/oauth2/rfc6749/endpoints/test_revocation_endpoint.py.
    - CVE-2026-49264
  * SECURITY UPDATE: timing side-channel in PKCE verification
    - debian/patches/CVE-2026-49265.patch: use constant-time comparison
      for the code_verifier checks in
      oauthlib/oauth2/rfc6749/grant_types/authorization_code.py.
    - CVE-2026-49265
  * SECURITY UPDATE: incorrect authorization via client_id confusion
    - debian/patches/CVE-2026-118669_1.patch: centralise client
      authentication into a shared helper in
      oauthlib/oauth2/rfc6749/grant_types/base.py and use it in the
      authorization code, refresh token and resource owner password
      credentials grants, including the device code grant.
    - debian/patches/CVE-2026-118669_2.patch: reject a request client_id
      that differs from the authenticated client so grant type and scope
      validation can no longer be authorized under another client's
      identity in the client_credentials, resource owner password
      credentials, refresh token and authorization code grants, and
      update the test mocks accordingly, including the device code grant tests.
    - CVE-2026-118669
  * SECURITY UPDATE: missing device_code validation in the device flow
    - debian/patches/CVE-2026-49272.patch: require and validate the
      device_code parameter and add the validate_device_code request
      validator hook in oauthlib/common.py,
      oauthlib/oauth2/rfc6749/grant_types/base.py,
      oauthlib/oauth2/rfc8628/endpoints/device_authorization.py,
      oauthlib/oauth2/rfc8628/grant_types/device_code.py,
      oauthlib/oauth2/rfc8628/request_validator.py,
      tests/oauth2/rfc8628/endpoints/test_error_responses.py,
      tests/oauth2/rfc8628/grant_types/test_device_code.py,
      tests/oauth2/rfc8628/test_server.py.
    - CVE-2026-49272

 -- Allen Huang Mon, 23 Nov 2026 16:15:00 +0000

CVE-2026-49264 OAuthLib is an implementation of the OAuth request-signing logic for Python 3.6+. From 0.6.1 until 4.0.0, OAuthLib's RevocationEndpoint in oauthlib/o
CVE-2026-49265 OAuthLib is an implementation of the OAuth request-signing logic for Python 3.6+. From 3.0.0 until 4.0.0, OAuthLib's PKCE checks in oauthlib/oauth2/r
CVE-2026-118669 OAuthLib is an implementation of the OAuth request-signing logic for Python 3.6+. Prior to 4.0.0, the client_credentials and Resource Owner Password
CVE-2026-49272 OAuthLib is an implementation of the OAuth request-signing logic for Python 3.6+. From 3.3.0 until 4.0.1, OAuthLib's RFC 8628 device workflow does no



About   -   Send Feedback to @ubuntu_updates