CVE-2026-49272: OAuthLib · Bearer token can be retrieved as long as client knows a valid client ID for device workflow
Affects charmcraftSource GCVE Database
Not known to be exploited · CVSS 8.5 High : upgrade to 4.4.2_1 soon.
Data as of 27 Oct 2026, 23:14 UTC
- Patch
- Available – fixed in 4.4.2_1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
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
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade charmcraft to 4.4.2_1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewcharmcraftpkg:brew/charmcraftOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in OAuthLib version 4.4.2_1 that properly validates the device_code parameter in the device authorization grant flow. Users should upgrade to version 4.4.2_1 or later to remediate this vulnerability. No additional mitigation steps are required if the patch is applied.
Description
OAuthLib versions from 3.5.1_1 up to but not including 4.4.2_1 contain a vulnerability in the device workflow implementation of the OAuth 2.0 device authorization grant (RFC 8628). The token endpoint does not validate the device_code parameter, allowing an attacker who knows a valid client ID with device workflow enabled to obtain a bearer token without a valid device_code. This flaw arises because the DeviceCodeGrant.validate_token_request method lacks proper device_code validation. A fix is available in version 4.4.2_1.