CVE-2026-49272
Publication date 5 November 2026
Last updated 23 November 2026
Ubuntu priority
CVSS 3 severity score
Description
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| python-oauthlib | 26.10 stonking |
Fixed in 3.3.1-2ubuntu0.1
|
| 26.04 LTS resolute |
Fixed in 3.3.1-1ubuntu0.1
|
|
| 24.04 LTS noble |
Fixed in 3.2.2-1ubuntu0.1
|
|
| 22.04 LTS jammy |
Fixed in 3.2.0-1ubuntu0.2
|
|
| 20.04 LTS focal |
Fixed in 3.1.0-1ubuntu2+esm1
|
|
| 18.04 LTS bionic |
Fixed in 2.0.6-1ubuntu0.1~esm1
|
|
| 16.04 LTS xenial |
Fixed in 1.0.3-1ubuntu0.1~esm1
|
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu Pro 30-day free trialSeverity score breakdown
CVSS version: CVSS v3.0
Base score
8.5 · High
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N
References
Related Ubuntu Security Notices (USN)
- USN-9188-1
- OAuthLib vulnerabilities
- 23 November 2026
Other references
- https://www.cve.org/CVERecord?id=CVE-2026-49272
- https://github.com/oauthlib/oauthlib/security/advisories/GHSA-3jp2-3mrg-2vxc
- https://github.com/oauthlib/oauthlib/pull/954
- https://github.com/oauthlib/oauthlib/commit/77a5f1c8ce00da2b0b8c5f6e9cc129920085f114
- https://github.com/oauthlib/oauthlib/releases/tag/v4.0.1