Python oauthlib: From 3.3.0 until 4.0.1, OAuthLib's RFC 8628 device workflow does not require
Affects python-oauthlibSource GCVE Database
Not known to be exploited · CVSS 8.5 High · fixed in 4.0.1 : patch python-oauthlib soon.
Data as of 18 Nov 2026, 15:19 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 8.5 |
|---|
- Patch
- Available – fixed in 4.0.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:NExploitation evidence
t = 0 is the CVE’s publication on cve.org
Disclosed: evidence found.
CVE published 5 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CISA SSVC: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
Timeline
CVE ID reserved
by GitHub, Inc.
, 161 days before disclosure
CVE published
on cve.org
, t = 0
CISA SSVC assessment
proof of concept public
, 16 minutes after disclosure
In Threat Radar
record ingested
, 21 minutes after disclosure
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CISA SSVC, the Metasploit, Exploit-DB and nuclei-templates index as of 17 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10python-oauthlibpkg:deb/ubuntu/python-oauthlib?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSpython-oauthlibpkg:deb/ubuntu/python-oauthlib?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSpython-oauthlibpkg:deb/ubuntu/python-oauthlib?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSpython-oauthlibpkg:deb/ubuntu/python-oauthlib?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSpython-oauthlibpkg:deb/ubuntu/python-oauthlib?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSpython-oauthlibpkg:deb/ubuntu/python-oauthlib?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2026-49272 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-49272 (opens in a new tab)
- github.com/oauthlib/oauthlib/security/advisories/GHSA-3jp2-3mrg-2vxc (opens in a new tab)
- github.com/oauthlib/oauthlib/pull/954 (opens in a new tab)
- github.com/oauthlib/oauthlib/commit/77a5f1c8ce00da2b0b8c5f6e9cc129920085f114 (opens in a new tab)
- github.com/oauthlib/oauthlib/releases/tag/v4.0.1 (opens in a new tab)