CVE-2026-87016 PUBLISHED

Open WebUI: Sign-in as another user via wildcard characters in the OAuth subject claim on SQLite

Assigner: GitHub_M
Reserved: 08.09.2026 Published: 09.09.2026 Updated: 09.09.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 8.1

Product Status

Vendor open-webui
Product open-webui
Versions
  • Version >= 0.6.41, < 0.11.1 is affected

References

Problem Types

  • CWE-155: Improper Neutralization of Wildcards or Matching Symbols CWE
  • CWE-287: Improper Authentication CWE