Vulnerability
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.
163 advisories report this vulnerability, across 6 ecosystems.
Advisories in Wolfi
- CGA-35cf-xc55-79f8
- CGA-3gcf-rpqm-vpgc
- CGA-4289-c3h6-r4rr
- CGA-63rr-v2mg-pw38
- CGA-6958-w7p5-rmrq
- CGA-7fpp-g77g-jx8m
- CGA-7v52-vw4c-jxq5
- CGA-87hc-74f6-r9jw
- CGA-8gw2-2325-5xp8
- CGA-f5wx-9fwg-fwgw
- CGA-f65c-vg9r-rh34
- CGA-fxhh-53qc-rv5r
- CGA-g3r6-3j5m-g26m
- CGA-g56v-4qp5-h59q
- CGA-g9c6-6c59-vj86
- CGA-h3q6-8938-v52g
- CGA-jw3p-g7w8-f2vh
- CGA-vfmp-5hvh-xpmp
- CGA-wxqc-rjg2-3vjm
- CGA-xgxx-hvfj-cvvj
- CGA-xx72-4jqh-r7fc