{"id":"USN-9188-1","summary":"python-oauthlib vulnerabilities","details":"It was discovered that OAuthLib incorrectly handled JSONP callback\nparameters in the token revocation endpoint. A remote attacker could\npossibly use this issue to execute arbitrary code in a client\napplication. (CVE-2026-49264)\n\nElvin Latifli discovered that OAuthLib incorrectly compared PKCE code\nverifiers, using a comparison that was not constant-time. A remote\nattacker could possibly use this issue to obtain access tokens,\nresulting in an account takeover. This issue only affected Ubuntu 26.10,\nUbuntu 26.04 LTS, Ubuntu 24.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 20.04\nLTS. (CVE-2026-49265)\n\nStrick Sheng discovered that OAuthLib incorrectly validated the client\nidentity. A remote attacker could possibly use this issue to obtain\ntokens authorized under another client, bypassing token authorization.\n(CVE-2026-118669)\n\nKyle Hekhuis discovered that OAuthLib incorrectly validated device codes\nin the device authorization workflow. A remote attacker could possibly\nuse this issue to obtain a token without completing device authorization.\nThis issue only affected Ubuntu 26.10 and Ubuntu 26.04 LTS.\n(CVE-2026-49272)","modified":"2026-11-24T15:01:51.159118458Z","published":"2026-11-23T19:44:23Z","related":["UBUNTU-CVE-2026-118669","UBUNTU-CVE-2026-49264","UBUNTU-CVE-2026-49265","UBUNTU-CVE-2026-49272"],"upstream":["CVE-2026-118669","CVE-2026-49264","CVE-2026-49265","CVE-2026-49272","UBUNTU-CVE-2026-118669","UBUNTU-CVE-2026-49264","UBUNTU-CVE-2026-49265","UBUNTU-CVE-2026-49272"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-9188-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-49264"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-49265"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-49272"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-118669"}],"affected":[{"package":{"name":"python-oauthlib","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/python-oauthlib?arch=source&distro=esm-infra-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.3-1ubuntu0.1~esm1"}]}],"versions":["1.0.0-1","1.0.3-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.0.3-1ubuntu0.1~esm1","binary_name":"python-oauthlib"},{"binary_name":"python3-oauthlib","binary_version":"1.0.3-1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2026-49264","severity":[{"source":"CNA","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium","source":"SELF"}]},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","source":"CNA"},{"source":"SELF","type":"Ubuntu","score":"medium"}],"id":"CVE-2026-49265"},{"id":"CVE-2026-49272","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N","source":"CNA"},{"score":"medium","source":"SELF","type":"Ubuntu"}]},{"severity":[{"score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N","source":"CNA","type":"CVSS_V4"},{"type":"Ubuntu","score":"medium","source":"SELF"}],"id":"CVE-2026-118669"}],"ecosystem":"Ubuntu:Pro:16.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9188-1.json"}},{"package":{"name":"python-oauthlib","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/python-oauthlib?arch=source&distro=esm-infra%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.6-1ubuntu0.1~esm1"}]}],"versions":["2.0.1-1","2.0.4-1","2.0.6-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.6-1ubuntu0.1~esm1","binary_name":"python-oauthlib"},{"binary_name":"python3-oauthlib","binary_version":"2.0.6-1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"cves_map":{"cves":[{"severity":[{"source":"CNA","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"source":"SELF","type":"Ubuntu","score":"medium"}],"id":"CVE-2026-49264"},{"id":"CVE-2026-49265","severity":[{"source":"CNA","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N"},{"score":"medium","source":"SELF","type":"Ubuntu"}]},{"id":"CVE-2026-49272","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N","source":"CNA","type":"CVSS_V3"},{"type":"Ubuntu","score":"medium","source":"SELF"}]},{"severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N","source":"CNA"},{"score":"medium","source":"SELF","type":"Ubuntu"}],"id":"CVE-2026-118669"}],"ecosystem":"Ubuntu:Pro:18.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9188-1.json"}},{"package":{"name":"python-oauthlib","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/python-oauthlib?arch=source&distro=esm-infra%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.0-1ubuntu2+esm1"}]}],"versions":["2.1.0-1","3.1.0-1ubuntu1","3.1.0-1ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-oauthlib","binary_version":"3.1.0-1ubuntu2+esm1"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9188-1.json","cves_map":{"ecosystem":"Ubuntu:Pro:20.04:LTS","cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"CNA"},{"score":"medium","source":"SELF","type":"Ubuntu"}],"id":"CVE-2026-49264"},{"severity":[{"source":"CNA","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N"},{"type":"Ubuntu","score":"medium","source":"SELF"}],"id":"CVE-2026-49265"},{"id":"CVE-2026-49272","severity":[{"source":"CNA","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N"},{"type":"Ubuntu","score":"medium","source":"SELF"}]},{"id":"CVE-2026-118669","severity":[{"score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N","source":"CNA","type":"CVSS_V4"},{"score":"medium","source":"SELF","type":"Ubuntu"}]}]}}},{"package":{"name":"python-oauthlib","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/python-oauthlib?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.0-1ubuntu0.2"}]}],"versions":["3.1.0-2","3.1.1-1","3.2.0-1","3.2.0-1ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"python3-oauthlib","binary_version":"3.2.0-1ubuntu0.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9188-1.json","cves_map":{"cves":[{"id":"CVE-2026-49264","severity":[{"source":"CNA","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"score":"medium","source":"SELF","type":"Ubuntu"}]},{"id":"CVE-2026-49265","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","source":"CNA","type":"CVSS_V3"},{"score":"medium","source":"SELF","type":"Ubuntu"}]},{"severity":[{"source":"CNA","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N"},{"score":"medium","source":"SELF","type":"Ubuntu"}],"id":"CVE-2026-49272"},{"id":"CVE-2026-118669","severity":[{"score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N","source":"CNA","type":"CVSS_V4"},{"score":"medium","source":"SELF","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:22.04:LTS"}}},{"package":{"name":"python-oauthlib","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/python-oauthlib?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.2-1ubuntu0.1"}]}],"versions":["3.2.2-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"3.2.2-1ubuntu0.1","binary_name":"python3-oauthlib"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:24.04:LTS","cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"CNA"},{"source":"SELF","type":"Ubuntu","score":"medium"}],"id":"CVE-2026-49264"},{"id":"CVE-2026-49265","severity":[{"source":"CNA","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N"},{"source":"SELF","type":"Ubuntu","score":"medium"}]},{"severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N","source":"CNA","type":"CVSS_V3"},{"type":"Ubuntu","score":"medium","source":"SELF"}],"id":"CVE-2026-49272"},{"id":"CVE-2026-118669","severity":[{"source":"CNA","type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N"},{"source":"SELF","type":"Ubuntu","score":"medium"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9188-1.json"}},{"package":{"name":"python-oauthlib","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/python-oauthlib?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.1-2ubuntu0.1"}]}],"versions":["3.3.1-1build1","3.3.1-2"],"ecosystem_specific":{"binaries":[{"binary_version":"3.3.1-2ubuntu0.1","binary_name":"python3-oauthlib"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"CNA"},{"type":"Ubuntu","score":"medium","source":"SELF"}],"id":"CVE-2026-49264"},{"id":"CVE-2026-49265","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","source":"CNA"},{"score":"medium","source":"SELF","type":"Ubuntu"}]},{"severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N","source":"CNA","type":"CVSS_V3"},{"type":"Ubuntu","score":"medium","source":"SELF"}],"id":"CVE-2026-49272"},{"severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N","source":"CNA"},{"source":"SELF","type":"Ubuntu","score":"medium"}],"id":"CVE-2026-118669"}],"ecosystem":"Ubuntu:26.10"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9188-1.json"}},{"package":{"name":"python-oauthlib","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/python-oauthlib?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.1-1ubuntu0.1"}]}],"versions":["3.2.2-3","3.3.1-1","3.3.1-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-oauthlib","binary_version":"3.3.1-1ubuntu0.1"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:26.04:LTS","cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"CNA"},{"type":"Ubuntu","score":"medium","source":"SELF"}],"id":"CVE-2026-49264"},{"id":"CVE-2026-49265","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","source":"CNA","type":"CVSS_V3"},{"score":"medium","source":"SELF","type":"Ubuntu"}]},{"id":"CVE-2026-49272","severity":[{"source":"CNA","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N"},{"source":"SELF","type":"Ubuntu","score":"medium"}]},{"severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N","source":"CNA"},{"source":"SELF","type":"Ubuntu","score":"medium"}],"id":"CVE-2026-118669"}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9188-1.json"}}],"schema_version":"1.9.2"}