🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
3 messages
3 total messages Started by Moritz Mühlenhoff Fri, 06 Nov 2026 22:20
Bug#1153277: python-oauthlib: CVE-2026-49272
#3565
Author: Moritz Mühlenhoff
Date: Fri, 06 Nov 2026 22:20
35 lines
2948 bytes
Source: python-oauthlib
X-Debbugs-CC: team@security.debian.org
Severity: grave
Tags: security

Hi,

The following vulnerability was published for python-oauthlib.

CVE-2026-49272[0]:
| 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 not require DeviceCodeGrant.validate_token_request to
| check that the device_code parameter is present and valid. A caller
| whose client request is accepted by the configured validator and who
| knows a valid client ID enabled for the device workflow can submit a
| missing or bogus device code to the token endpoint and obtain a
| bearer token without completing device authorization. This issue is
| fixed in version 4.0.1.

https://github.com/oauthlib/oauthlib/security/advisories/GHSA-3jp2-3mrg-2vxc
https://github.com/oauthlib/oauthlib/pull/954

Fixed by: https://github.com/oauthlib/oauthlib/commit/77a5f1c8ce00da2b0b8c5f6e9cc129920085f114 (v4.0.1)


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-49272
    https://www.cve.org/CVERecord?id=CVE-2026-49272

Please adjust the affected versions in the BTS as needed.
Bug#1153277: python-oauthlib: CVE-2026-49272
#3969
Author: Nico Della Torre
Date: Tue, 10 Nov 2026 09:20
18 lines
3329 bytes
tags 1153277 + patch pending
thanks

Hi,

Backported the upstream fix for CVE-2026-49272 to 3.3.1: the device
code grant now requires and validates device_code. Builds and passes
autopkgtest.

Thanks,
Nico

-- 
⠀⢀⣴⣾⠿⠿⣿⣶⣄⠀   Nico Della Torre (nicoz)
⢠⣿⠋⠀⣠⢄⠀⠙⣿⣇   Debian Maintainer · Ubuntu
⢾⡇⠀⣾⠀⠀⠀⢀⣿⡟   https://wiki.debian.org/nicoz
⠘⣇⠀⠘⢷⣶⣶⣾⠟⠁   IRC: nicoz @ OFTC, Libera.Chat
⠀⠈⠣⢄⠀⠀⠀⠀⠀⠀   GPG: 0456 E8BC 1DC0 B027 EF8D  66A6 9549 3787 F6F1 9F03
Bug#1153277: python-oauthlib: CVE-2026-49272
#4592
Author: Colin Watson
Date: Sun, 15 Nov 2026 13:50
21 lines
2694 bytes
On Tue, Nov 10, 2026 at 10:08:48AM +0100, Nico Della Torre wrote:
>Backported the upstream fix for CVE-2026-49272 to 3.3.1: the device
>code grant now requires and validates device_code. Builds and passes
>autopkgtest.

Thanks.  I had a look at it to see whether I could upload it.

This is quite a substantial backport and it's explicitly only part of an 
upstream PR, which makes me a bit nervous.  At least at a first glance, 
it's not obvious how I'd assure myself that everything important is 
included.

My first instinct here would be to just upgrade to 4.0.1 instead; was 
there a particular reason not to do that?  Since there are a couple of 
breaking changes, we'd probably need to check all the 
reverse-dependencies.

Thanks,

-- 
Colin Watson (he/him)                              [cjwatson@ubuntu.com]
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads