---
title: "CVE-2026-49272"
canonical_url: "https://pkgseek.com/security/CVE-2026-49272"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2026-49272

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.

CVE-2026-49272 is rated HIGH (8.5), with 3 indexed affected package builds across 2 distributions.

- **Severity / Score**: HIGH (8.5)
- **Affected builds**: 3
- **Affected distros**: 2
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | python3-oauthlib | 3.2.2-3 | — |
| Ubuntu | jammy | python3-oauthlib | 3.2.0-1 | — |
| Ubuntu | noble | python3-oauthlib | 3.2.2-1 | — |
