{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0.6.41"
              },
              {
                "fixed": "0.11.1"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "6f1486ffd0cb288d0e21f41845361924e0d742b3"
            },
            {
              "fixed": "73c1f5806aeb6345dad5de8f5aa26d1f3d0bef80"
            },
            {
              "fixed": "d3e8bf3405e848cfba377814d0aa7ba7290e414d"
            }
          ],
          "repo": "https://github.com/open-webui/open-webui",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-wpmr-8h3q-fwj7"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-155",
      "CWE-287"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/87xxx/CVE-2026-87016.json"
  },
  "details": "Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.6.41 until 0.11.1, get_user_by_oauth_sub and get_user_by_scim_external_id in backend/open_webui/models/users.py used JSON contains matching that compiled to SQL LIKE substring matching on SQLite. An OAuth subject containing percent or underscore wildcard characters could resolve to a different stored identity, potentially selecting an administrator account and issuing the attacker that account's session; PostgreSQL deployments were not affected. This issue is fixed in version 0.11.1.",
  "id": "CVE-2026-87016",
  "modified": "2026-09-12T03:31:05.561123740Z",
  "published": "2026-09-09T21:21:43.877Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/open-webui/open-webui/releases/tag/v0.11.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/87xxx/CVE-2026-87016.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/open-webui/open-webui/security/advisories/GHSA-wpmr-8h3q-fwj7"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-87016"
    },
    {
      "type": "FIX",
      "url": "https://github.com/open-webui/open-webui/commit/73c1f5806aeb6345dad5de8f5aa26d1f3d0bef80"
    },
    {
      "type": "FIX",
      "url": "https://github.com/open-webui/open-webui/pull/28624"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Open WebUI: Sign-in as another user via wildcard characters in the OAuth subject claim on SQLite"
}