{
  "id": "CVE-2026-49272",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-49272",
  "published_at": "2026-11-05T20:58:00.517Z",
  "title": "OAuthLib: Bearer token can be retrieved as long as client knows a valid client ID for device workflow",
  "vendor": "oauthlib",
  "product": "oauthlib",
  "cvss": {
    "score": 8.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-287",
  "cvss_by_source": {
    "cna": 8.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "oauthlib",
        "product": "oauthlib",
        "ranges": [
          "\u003e= 3.3.0, \u003c 4.0.1"
        ],
        "fixed_in": [
          "4.0.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade oauthlib to 4.0.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/oauthlib/oauthlib/security/advisories/GHSA-3jp2-3mrg-2vxc"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/oauthlib/oauthlib/pull/954"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/oauthlib/oauthlib/commit/77a5f1c8ce00da2b0b8c5f6e9cc129920085f114"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/oauthlib/oauthlib/releases/tag/v4.0.1"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
