本文へ移動

#CVE-2026-49272

脆弱性の一覧へ戻る

編集部の見出し:oauthlib:デバイスフローで device_code を検証せずトークンを取得できる

CVE(NVD)CVSS 8.5 High

NVD の情報

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.

公開日
2026-11-05
最終更新(NVD)
2026-11-05
NVD の状態
Received
脆弱性の種類
CWE-287

深刻度(CVSS)

  • 8.5 HighCVSS 3.1/副/評価:security-advisories@github.comCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N

悪用の状況

CISA KEV には掲載されていません(掲載されていないことは、悪用されていないことの証明ではありません)。

解消方法

  • 解消方法の情報なし

「NVD の条件から推定」は、NVD が影響ありとする版の上限から読み取ったもので、修正版とは限りません。「解消方法の情報なし」は、修正が無いという意味ではありません。必ずベンダーの公告で確認してください。

編集部の記載(レポート掲載時)

レポートの編集部がベンダー公告などから転記した内容です。検証済みの値ではないため、必ず出典で確認してください。

2026-11-06 のレポートoauthlib:デバイスフローで device_code を検証せずトークンを取得できる

NVD の記録では 3.3.0 以上 4.0.1 未満が対象で、4.0.1 で修正。

参照(NVD)

NVD から取得:2026-11-05T21:45:25.596Z

This product uses the NVD API but is not endorsed or certified by the NVD.

悪用の確認情報は CISA Known Exploited Vulnerabilities Catalog(NVD 経由で取得)によります。EPSS は FIRST(www.first.org/epss)によります。