UBUNTU-CVE-2026-49272

Source
https://ubuntu.com/security/CVE-2026-49272
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49272.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-49272
Upstream
Downstream
Related
Published
2026-11-05T21:18:00Z
Modified
2026-11-24T14:55:38Z
Severity
  • 8.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N (Source: CNA) CVSS Calculator
  • Ubuntu - medium (Source: SELF)
Summary
[none]
Details

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

Affected packages

Ubuntu:22.04:LTS
python-oauthlib

Package

Name
python-oauthlib
Purl
pkg:deb/ubuntu/python-oauthlib?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.2.0-1ubuntu0.2

Affected versions

3.*
3.1.0-2
3.1.1-1
3.2.0-1
3.2.0-1ubuntu0.1

Ecosystem specific

{
    "availability":  "No subscription required",
    "binaries":  [
        {
            "binary_name":  "python3-oauthlib",
            "binary_version":  "3.2.0-1ubuntu0.2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49272.json"
Ubuntu:24.04:LTS
python-oauthlib

Package

Name
python-oauthlib
Purl
pkg:deb/ubuntu/python-oauthlib?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.2.2-1ubuntu0.1

Affected versions

3.*
3.2.2-1

Ecosystem specific

{
    "availability":  "No subscription required",
    "binaries":  [
        {
            "binary_name":  "python3-oauthlib",
            "binary_version":  "3.2.2-1ubuntu0.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49272.json"
Ubuntu:26.04:LTS
python-oauthlib

Package

Name
python-oauthlib
Purl
pkg:deb/ubuntu/python-oauthlib?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.3.1-1ubuntu0.1

Affected versions

3.*
3.2.2-3
3.3.1-1
3.3.1-1build1

Ecosystem specific

{
    "availability":  "No subscription required",
    "binaries":  [
        {
            "binary_name":  "python3-oauthlib",
            "binary_version":  "3.3.1-1ubuntu0.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49272.json"
Ubuntu:26.10
python-oauthlib

Package

Name
python-oauthlib
Purl
pkg:deb/ubuntu/python-oauthlib?arch=source&distro=stonking

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.3.1-2ubuntu0.1

Affected versions

3.*
3.3.1-1build1
3.3.1-2

Ecosystem specific

{
    "availability":  "No subscription required",
    "binaries":  [
        {
            "binary_name":  "python3-oauthlib",
            "binary_version":  "3.3.1-2ubuntu0.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49272.json"
Ubuntu:Pro:16.04:LTS
python-oauthlib

Package

Name
python-oauthlib
Purl
pkg:deb/ubuntu/python-oauthlib?arch=source&distro=esm-infra-legacy%2Fxenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.0.3-1ubuntu0.1~esm1

Affected versions

1.*
1.0.0-1
1.0.3-1

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "python-oauthlib",
            "binary_version":  "1.0.3-1ubuntu0.1~esm1"
        },
        {
            "binary_name":  "python3-oauthlib",
            "binary_version":  "1.0.3-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49272.json"
Ubuntu:Pro:18.04:LTS
python-oauthlib

Package

Name
python-oauthlib
Purl
pkg:deb/ubuntu/python-oauthlib?arch=source&distro=esm-infra%2Fbionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.0.6-1ubuntu0.1~esm1

Affected versions

2.*
2.0.1-1
2.0.4-1
2.0.6-1

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "python-oauthlib",
            "binary_version":  "2.0.6-1ubuntu0.1~esm1"
        },
        {
            "binary_name":  "python3-oauthlib",
            "binary_version":  "2.0.6-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49272.json"
Ubuntu:Pro:20.04:LTS
python-oauthlib

Package

Name
python-oauthlib
Purl
pkg:deb/ubuntu/python-oauthlib?arch=source&distro=esm-infra%2Ffocal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.1.0-1ubuntu2+esm1

Affected versions

2.*
2.1.0-1
3.*
3.1.0-1ubuntu1
3.1.0-1ubuntu2

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "python3-oauthlib",
            "binary_version":  "3.1.0-1ubuntu2+esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49272.json"