CVE-2026-49272
OAuthLib: Bearer token can be retrieved as long as client knows a valid client ID for device workflow
A public proof of concept exists; no exploitation attested.
- Published2026-11-05
- Fixed in4.0.1
- WeaknessCWE-287
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2026-11-0520:58CVE publishedCNA
Versions per branch
OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 4.0 | ≥ 3.3.0, < 4.0.1 | 4.0.1 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- oauthlibAffected
- = >= 3.3.0, < 4.0.1no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-11-05
Fix
- Update oauthlib to 4.0.1
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2026-11-05
- Metasploit modules
- none listed Metasploit Framework
Sources
Identifiers
- GHSA-3jp2-3mrg-2vxcsame flawGitHub Advisory Database · CC-BY-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N
- Published
- 2026-11-05
- Last Modified
- 2026-11-05
- NVD status
- Received
- GitHub Advisory
- GHSA-3jp2-3mrg-2vxc
Frequently asked questions
What is CVE-2026-49272?
Is CVE-2026-49272 actively exploited?
What is the CVSS score for CVE-2026-49272?
Running oauthlib? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2022-36087same product
- CVE-2026-49265same product
- CVE-2026-49264same product
- CVE-2026-118527KEVsame week
- CVE-2026-77690same weekCommand injection vulnerability
- CVE-2026-121943same weekIrontec sngrep through 1.9.0 Out-of-Bounds Stack Read via sip_check_packet
- CVE-2026-119742same weekNagios XI < 2026R2 OS Command Injection via mibs.php
- CVE-2026-120276same weekWAVLINK WN536AX6-A Web Management ioos sub_416760 os command injection
Sources for this record
- CVE Program · CVE Program Terms of Use
- GitHub Advisory Database · CC-BY-4.0 · GHSA-3jp2-3mrg-2vxc
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- CISA Vulnrichment · CC0-1.0