{"id":"UBUNTU-CVE-2026-49264","details":"OAuthLib is an implementation of the OAuth request-signing logic for Python 3.6+. From 0.6.1 until 4.0.0, OAuthLib's RevocationEndpoint in oauthlib/oauth2/rfc6749/endpoints/revocation.py reflects an unvalidated callback request parameter into success and error response bodies when enable_jsonp=True. The callback can come from the query string or request body and is used without restricting it to a legal JavaScript function name. A browser application that loads the revocation response as trusted JSONP and permits attacker influence over callback can therefore execute attacker-controlled JavaScript in the including application's origin, with access to its DOM and script-accessible data. The feature is disabled by default, so only deployments that explicitly enable JSONP are affected. This issue is fixed in version 4.0.0.","modified":"2026-10-17T12:58:32.706750027Z","published":"2026-10-13T16:17:00Z","upstream":["CVE-2026-49264"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-49264"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-49264"},{"type":"REPORT","url":"https://github.com/oauthlib/oauthlib/commit/c888359f3c42bec235b2c5caab2069c9ed62457c"},{"type":"REPORT","url":"https://github.com/oauthlib/oauthlib/pull/951"},{"type":"REPORT","url":"https://github.com/oauthlib/oauthlib/releases/tag/v4.0.0"},{"type":"REPORT","url":"https://github.com/oauthlib/oauthlib/security/advisories/GHSA-hj66-6f7g-4r5v"}],"affected":[{"package":{"name":"python-oauthlib","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/python-oauthlib?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.0-1","1.0.3-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python-oauthlib","binary_version":"1.0.3-1"},{"binary_version":"1.0.3-1","binary_name":"python3-oauthlib"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49264.json"}},{"package":{"name":"python-oauthlib","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/python-oauthlib?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.1-1","2.0.4-1","2.0.6-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.6-1","binary_name":"python-oauthlib"},{"binary_name":"python3-oauthlib","binary_version":"2.0.6-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49264.json"}},{"package":{"name":"python-oauthlib","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/python-oauthlib?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49264.json"}},{"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"}]}],"versions":["3.1.0-2","3.1.1-1","3.2.0-1","3.2.0-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-oauthlib","binary_version":"3.2.0-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49264.json"}},{"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"}]}],"versions":["3.2.2-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-oauthlib","binary_version":"3.2.2-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49264.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"}]}],"versions":["3.3.1-1build1","3.3.1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-oauthlib","binary_version":"3.3.1-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49264.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"}]}],"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-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49264.json"}}],"schema_version":"1.9.0","severity":[{"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"}]}