CVE-2026-49272
published high CVSS 3.1 · 8.5OAuthLib: Bearer token can be retrieved as long as client knows a valid client ID for device workflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| oauthlib | — | oauthlib>= 3.3.0, < 4.0.1 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-oauthlibaarch64 | Advisory build | 4.0.1-1.1 | OPENSUSE-SU-2026:12520-1 |
| Ubuntu | bionic | python-oauthlib | Advisory build | 2.0.6-1ubuntu0.1~esm1 | USN-9188-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-oauthlibppc64le | Advisory build | 4.0.1-1.1 | OPENSUSE-SU-2026:12520-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-oauthlibs390x | Advisory build | 4.0.1-1.1 | OPENSUSE-SU-2026:12520-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-oauthlibx86_64 | Advisory build | 4.0.1-1.1 | OPENSUSE-SU-2026:12520-1 |
Show 17 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-oauthlibaarch64 | Advisory build | 4.0.1-1.1 | OPENSUSE-SU-2026:12520-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-oauthlibppc64le | Advisory build | 4.0.1-1.1 | OPENSUSE-SU-2026:12520-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-oauthlibs390x | Advisory build | 4.0.1-1.1 | OPENSUSE-SU-2026:12520-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-oauthlibx86_64 | Advisory build | 4.0.1-1.1 | OPENSUSE-SU-2026:12520-1 |
| Ubuntu | bionic | python3-oauthlib | Advisory build | 2.0.6-1ubuntu0.1~esm1 | USN-9188-1 |
| Ubuntu | focal | python-oauthlib | Advisory build | 3.1.0-1ubuntu2+esm1 | USN-9188-1 |
| Ubuntu | focal | python3-oauthlib | Advisory build | 3.1.0-1ubuntu2+esm1 | USN-9188-1 |
| Ubuntu | jammy | python-oauthlib | Advisory build | 3.2.0-1ubuntu0.2 | USN-9188-1 |
| Ubuntu | jammy | python3-oauthlib | Advisory build | 3.2.0-1ubuntu0.2 | USN-9188-1 |
| Ubuntu | noble | python-oauthlib | Advisory build | 3.2.2-1ubuntu0.1 | USN-9188-1 |
| Ubuntu | noble | python3-oauthlib | Advisory build | 3.2.2-1ubuntu0.1 | USN-9188-1 |
| Ubuntu | resolute | python-oauthlib | Advisory build | 3.3.1-1ubuntu0.1 | USN-9188-1 |
| Ubuntu | resolute | python3-oauthlib | Advisory build | 3.3.1-1ubuntu0.1 | USN-9188-1 |
| Ubuntu | stonking | python-oauthlib | Advisory build | 3.3.1-2ubuntu0.1 | USN-9188-1 |
| Ubuntu | stonking | python3-oauthlib | Advisory build | 3.3.1-2ubuntu0.1 | USN-9188-1 |
| Ubuntu | xenial | python-oauthlib | Advisory build | 1.0.3-1ubuntu0.1~esm1 | USN-9188-1 |
| Ubuntu | xenial | python3-oauthlib | Advisory build | 1.0.3-1ubuntu0.1~esm1 | USN-9188-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| oauthlib | oauthlib | >= 3.3.0, < 4.0.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-287 CWE-287: Improper Authentication
References
4Provider assertions
2GitHub_M · cna
OAuthLib: Bearer token can be retrieved as long as client knows a valid client ID for device workflow
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 30beab6d5b055fc28af5b4039c32f3d5f74b032e86f7d65579a03a54469443b8
- Ingested
- 07 Nov 2026, 23:44:42 UTC
- Source record
- Official CVE record