CVE-2026-49272: OAuthLib: Bearer token can be retrieved as long as client knows a valid client ID for device workflow
Vulnerability summary
CVE-2026-49272 is a high (CVSS 8.5) Improper Authentication vulnerability in oauthlib. EPSS estimates a 0.36% chance of exploitation in the next 30 days, higher than 32.1% of scored vulnerabilities.
Not severe (CVSS 8.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 05-11-2026PublishedVulnerability first disclosed.
- 05-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · PypiEcosystem advisory · calculated8.5HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N
- OSV · WolfiEcosystem advisory · calculated8.5HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N
- OSV · ChainguardEcosystem advisory · calculated8.5HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N
- NVDNIST8.5HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N
- OSV · DebianEcosystem advisory · calculated8.5HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N
- OSV · UbuntuEcosystem advisory · calculated8.5HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N
EPSS trend
Probability
0.36%
Chance of exploitation in the next 30 days
Percentile
32%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard81 products
- airflow-2All versions (No fix recorded)
- ansible-operatorAll versions (No fix recorded) | < 1.42.3-r27
- ansible-operator-fipsAll versions (No fix recorded) | < 1.42.3-r23
- authentik-2025.12All versions (No fix recorded) | < 2025.12.6-r25
- authentik-2026.2All versions (No fix recorded) | < 2026.2.7-r12
Wolfi10 products
- dask-kubernetesAll versions (No fix recorded) | < 2026.3.0-r20
- datadog-agent-7.78-core-integrationsAll versions (No fix recorded) | < 7.78.4-r28
- datadog-agent-7.79-core-integrationsAll versions (No fix recorded) | < 7.79.2-r29
- datadog-agent-7.80-core-integrationsAll versions (No fix recorded) | < 7.80.4-r30
- datadog-agent-7.81-core-integrationsAll versions (No fix recorded)
Debian1 product
- python-oauthlibAll versions (No fix recorded) | < 4.0.1-1
Oauthlib1 product
- oauthlib≥ 3.3.0, < 4.0.1
PyPI1 product
- oauthlib≥ 3.3.0, < 4.0.0 | ≥ 3.3.0, < 4.0.1
Ubuntu1 product
- python-oauthlibAll versions (No fix recorded) | < 1.0.3-1ubuntu0.1~esm1 | < 2.0.6-1ubuntu0.1~esm1 | < 3.1.0-1ubuntu2+esm1 | < 3.2.0-1ubuntu0.2 | < 3.2.2-1ubuntu0.1 | < 3.3.1-2ubuntu0.1 | < 3.3.1-1ubuntu0.1
6 vendors · 95 products
References
12 links- github.com/oauthlib/oauthlib/security/advisories/GHSA-3jp2-3mrg-2vxcWEBX Refsource CONFIRMREPORTAdvisory
- github.com/oauthlib/oauthlibPACKAGE
- github.com/oauthlib/oauthlib/commit/77a5f1c8ce00da2b0b8c5f6e9cc129920085f114X Refsource MISCWEBREPORTFIX