CVE-2026-49272 OAuthLib: Bearer token can be retrieved as long as client knows a valid client ID for device workflow
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
9 packages: 1 fixed, 7 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/python-oauthlib(Debian 12) | = 3.2.2-1; = 3.2.2-2; = 3.2.2-3; = 3.2.2-4 +3 more | No fix listed | No fix yet |
| debian/python-oauthlib(Debian 13) | = 3.2.2-3; = 3.2.2-4; = 3.3.1-1; = 3.3.1-2 +1 more | No fix listed | No fix yet |
| debian/python-oauthlib(Debian 14) | = 3.2.2-3; = 3.2.2-4; = 3.3.1-1; = 3.3.1-2 +1 more | No fix listed | No fix yet |
| ubuntu/python-oauthlib(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/python-oauthlib(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/python-oauthlib(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/python-oauthlib(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| pypi oauthlib(PyPI) | = 3.3.0; = 3.3.1; = 4.0.0; >= 3.3.0, < 4.0.1 | 4.0.1 | Fixed |
| oauthlib | = >= 3.3.0, < 4.0.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi oauthlib(PyPI) | >= 3.3.0, < 4.0.1 | 4.0.1 |
| pypi oauthlib(PyPI) | = 3.3.0 | No fix listed |
| pypi oauthlib(PyPI) | = 3.3.1 | No fix listed |
| pypi oauthlib(PyPI) | = 4.0.0 | No fix listed |
| oauthlib | = >= 3.3.0, < 4.0.1 | No fix listed |
| debian/python-oauthlib(Debian:12) | All versions | No fix listed |
| debian/python-oauthlib(Debian:14) | All versions | No fix listed |
| debian/python-oauthlib(Debian:13) | All versions | No fix listed |
| debian/python-oauthlib(Debian:12) | = 3.2.2-1 | No fix listed |
| debian/python-oauthlib(Debian:12) | = 3.2.2-2 | No fix listed |
| debian/python-oauthlib(Debian:12) | = 3.2.2-3 | No fix listed |
| debian/python-oauthlib(Debian:12) | = 3.2.2-4 | No fix listed |
| debian/python-oauthlib(Debian:12) | = 3.3.1-1 | No fix listed |
| debian/python-oauthlib(Debian:12) | = 3.3.1-2 | No fix listed |
| debian/python-oauthlib(Debian:13) | = 3.2.2-3 | No fix listed |
| debian/python-oauthlib(Debian:13) | = 3.2.2-4 | No fix listed |
| debian/python-oauthlib(Debian:13) | = 3.3.1-1 | No fix listed |
| debian/python-oauthlib(Debian:13) | = 3.3.1-2 | No fix listed |
| debian/python-oauthlib(Debian:14) | = 3.2.2-3 | No fix listed |
| debian/python-oauthlib(Debian:14) | = 3.2.2-4 | No fix listed |
| debian/python-oauthlib(Debian:14) | = 3.3.1-1 | No fix listed |
| debian/python-oauthlib(Debian:14) | = 3.3.1-2 | No fix listed |
| ubuntu/python-oauthlib(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/python-oauthlib(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/python-oauthlib(Ubuntu:26.04) | All versions | No fix listed |
Show 1 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/python-oauthlib(Ubuntu:26.10) | All versions | No fix listed |
References
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2567703 issue-tracking
- www.cve.org
- nvd.nist.gov
- https://github.com/oauthlib/oauthlib/commit/77a5f1c8ce00da2b0b8c5f6e9cc129920085f114 patch
- https://github.com/oauthlib/oauthlib/pull/954 patch
- https://github.com/oauthlib/oauthlib/releases/tag/v4.0.1
- https://github.com/oauthlib/oauthlib/security/advisories/GHSA-3jp2-3mrg-2vxc exploit vendor-advisory
- github.com product
- github.com
- Debian Security Tracker CVE-2026-49272 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-117800 third-party-advisory