Public bug reported:
A new release of python-oauthlib is available for merging from Debian.
Ubuntu Proposed: 3.3.1-2ubuntu1
Debian Unstable: 4.0.1-1
### New Debian Changes ###
python-oauthlib (4.0.1-1) unstable; urgency=medium
* Team upload.
* New upstream release.
- Fixes CVE-2026-49272: device_code is now required and validated in
the device authorization grant (Closes: #1153277)
* Add Breaks on the django-allauth and django-oauth-toolkit versions that
do not support the oauthlib 4.0.1 device authorization grant.
* d/control: Update Homepage to the current upstream repository.
* d/copyright: Update Source URL.
* d/watch: Add blank line after the Version field.
-- Nico Della Torre <[email protected]> Sun, 29 Nov 2026 21:02:31
+0000
### Old Ubuntu Delta ###
python-oauthlib (3.3.1-2ubuntu1) tenacious; 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 <[email protected]> Mon, 23 Nov 2026 17:16:22
+0000
** Affects: python-oauthlib (Ubuntu)
Importance: Wishlist
Status: New
** Tags: dcr-merge
** Changed in: python-oauthlib (Ubuntu)
Importance: Undecided => Wishlist
** Changed in: python-oauthlib (Ubuntu)
Milestone: None => ubuntu-26.11
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2190866
Title:
Merge python-oauthlib 4.0.1-1 from Debian for tenacious cycle
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-oauthlib/+bug/2190866/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs