Skip to main content
CVE-2026-49272VulnerabilityPublished Updated

Python oauthlib: From 3.3.0 until 4.0.1, OAuthLib's RFC 8628 device workflow does not require

Affects python-oauthlibSource GCVE Database

0
Compare
Authoritative record:CVE-2026-49272· High 8.5

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

CVSS 3.1 base score
8.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.18.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:N

Exploitation evidence

t = 0 is the CVE’s publication on cve.org

  1. Disclosed: evidence found.

    CVE published 5 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CISA SSVC: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

Timeline

  1. CVE ID reserved

    by GitHub, Inc.

    , 161 days before disclosure

  2. CVE published

    on cve.org

    , t = 0

  3. CISA SSVC assessment

    proof of concept public

    , 16 minutes after disclosure

  4. 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

ProductAffectedFixed in
Ubuntu 26.10python-oauthlibpkg:deb/ubuntu/python-oauthlib?arch=source&distro=stonkingOther threatsAffected
  • =3.3.1-1build1
  • =3.3.1-2
Fixed in–
Ubuntu 26.04 LTSpython-oauthlibpkg:deb/ubuntu/python-oauthlib?arch=source&distro=resoluteOther threatsAffected
  • =3.2.2-3
  • =3.3.1-1
  • =3.3.1-1build1
Fixed in–
Ubuntu 24.04 LTSpython-oauthlibpkg:deb/ubuntu/python-oauthlib?arch=source&distro=nobleOther threatsAffected
  • =3.2.2-1
Fixed in–
Ubuntu 22.04 LTSpython-oauthlibpkg:deb/ubuntu/python-oauthlib?arch=source&distro=jammyOther threatsAffected
  • 3.1.0-2 – 3.2.0-1ubuntu0.1
4 affected builds
Fixed in–
Ubuntu 20.04 LTSpython-oauthlibpkg:deb/ubuntu/python-oauthlib?arch=source&distro=focalOther threatsAffected
  • =2.1.0-1
  • =3.1.0-1ubuntu1
  • =3.1.0-1ubuntu2
Fixed in–
Ubuntu 18.04 LTSpython-oauthlibpkg:deb/ubuntu/python-oauthlib?arch=source&distro=bionicOther threatsAffected
  • =2.0.1-1
  • =2.0.4-1
  • =2.0.6-1
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

Community reviews

Loading reviews…