Skip to content
Heist/ feed
Back to feed
Medium

python-oauthlib — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-49264

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.

Products
python-oauthlib
Affected versions
3.2.2-1, 3.2.2-2, 3.2.2-3, 3.2.2-4, 3.3.1-1, 3.3.1-2
Fixed versions
Not specified
CVEs
CVE-2026-49264
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 23:21 UTC · Revision 1

Source evidence

DEBIAN-CVE-2026-49264

core-osv · Original source

Published 13 Oct 2026, 16:17 UTC

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.

osv:DEBIAN-CVE-2026-49264

python-oauthlib

Fixed versions: Not specified

python-oauthlib

Fixed versions: Not specified

python-oauthlib

Fixed versions: Not specified

Complete source record
{
  "id": "eb6c8ae16b48842c3425d86d7c7b91c6b6233de87b97959ffa8e9f890007d4ca",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-49264",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-49264",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2026-49264",
    "products": [
      {
        "name": {
          "value": "python-oauthlib",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.2.2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.2.2-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.2.2-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.2.2-4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.3.1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.3.1-2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-oauthlib",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.2.2-3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.2.2-4",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.3.1-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.3.1-2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-oauthlib",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.2.2-3",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.2.2-4",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.3.1-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.3.1-2",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2026-49264",
      "aliases": [
        "DEBIAN-CVE-2026-49264"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-oauthlib",
            "purl": "pkg:deb/debian/python-oauthlib?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "3.2.2-1",
            "3.2.2-2",
            "3.2.2-3",
            "3.2.2-4",
            "3.3.1-1",
            "3.3.1-2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-49264.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-oauthlib",
            "purl": "pkg:deb/debian/python-oauthlib?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "3.2.2-3",
            "3.2.2-4",
            "3.3.1-1",
            "3.3.1-2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-49264.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-oauthlib",
            "purl": "pkg:deb/debian/python-oauthlib?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "3.2.2-3",
            "3.2.2-4",
            "3.3.1-1",
            "3.3.1-2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-49264.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T17:47:41.812142284Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-49264"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-49264"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-49264",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 418405,
  "published_at": "2026-10-13T16:17:20.56+00:00"
}