{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-49272","id":"CVE-2026-49272","title":"OAuthLib auth bypass in device workflow token requests","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 su","descriptionLong":"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.","published":"2026-11-05T20:58:00.517Z","updated":"2026-11-14T02:30:24.806661302Z","reserved":"2026-05-28T20:07:58.860Z","status":"Awaiting Analysis","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":8.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":8.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["oauthlib"],"affectedProducts":[{"vendor":"oauthlib","product":"oauthlib","defaultStatus":null,"versions":[{"version":">= 3.3.0, < 4.0.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"oauthlib","purl":"pkg:pypi/oauthlib","ranges":[">=3.3.0 <4.0.1"],"fixed":["4.0.1"],"advisory":"GHSA-3jp2-3mrg-2vxc"}],"cwes":["CWE-287"],"aliases":["GHSA-3jp2-3mrg-2vxc"],"references":[{"url":"https://github.com/oauthlib/oauthlib/security/advisories/GHSA-3jp2-3mrg-2vxc","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/oauthlib/oauthlib/pull/954","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/oauthlib/oauthlib/commit/77a5f1c8ce00da2b0b8c5f6e9cc129920085f114","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/oauthlib/oauthlib/releases/tag/v4.0.1","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49272.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49272","tags":["advisory"]},{"url":"https://github.com/oauthlib/oauthlib","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00328,"epssPercentile":0.26426,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-49272","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49272","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-49272","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-3jp2-3mrg-2vxc","ok":true,"note":"GHSA-3jp2-3mrg-2vxc"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-49272","ok":true,"note":"scored 2026-11-19"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}