Skip to main content
CVE-2026-118669VulnerabilityPublished Updated

Python oauthlib: Prior to 4.0.0, the client_credentials and Resource Owner Password Credentials token grant handlers

Affects python-oauthlibSource GCVE Database

0
Compare
Authoritative record:CVE-2026-118669· High 8.4

Not known to be exploited · CVSS 8.4 High · fixed in 4.0.0 : patch python-oauthlib soon.

Data as of 5 Nov 2026, 12:35 UTC

CVSS 4.0 base score
8.4High
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 4.08.4
Patch
Available – fixed in 4.0.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  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

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 5 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+. Prior to 4.0.0, the client_credentials and Resource Owner Password Credentials token grant handlers can authenticate request.client as one confidential client while retaining an attacker-supplied request.client_id for validate_grant_type and validate_scopes. A lower-privilege authenticated client can therefore cause grant and scope authorization to use another client's identity when an application validator relies on the documented client_id argument, potentially issuing tokens with unauthorized grants or scopes. Validators that authorize exclusively from request.client may not be affected. This issue is fixed in version 4.0.0.

References

Community reviews

Loading reviews…