Description
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.
Published: 2026-09-09
Score: 8.1 High
EPSS: n/a
KEV: No
Impact: Privilege Escalation via User Impersonation
Action: Immediate Patch
AI Analysis

Impact

The vulnerability stems from the use of SQLite’s SQL LIKE operator to match OAuth subject claims in Open WebUI. Wildcard characters such as percent and underscore in the OAuth subject can match unintended user records, allowing an attacker to sign in as an administrator or any privileged user. This bypasses the intended authentication flow, corresponding to CWE-287 for authentication bypass and CWE-155 for unintended disclosure.

Affected Systems

Open WebUI versions from 0.6.41 up to and including 0.11.1 are affected when using SQLite. Deployments that use PostgreSQL are not impacted. The issue is internal to the get_user_by_oauth_sub and get_user_by_scim_external_id functions in the user model.

Risk and Exploitability

The CVSS score of 8.1 classifies the vulnerability as high severity. EPSS is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting a moderate likelihood of exploitation at present. The likely attack vector is a compromised or malicious OAuth provider that can supply a crafted subject claim containing wildcard characters. Successful exploitation results in full account impersonation and immediate privilege escalation for the attacker.

Generated by OpenCVE AI on September 9, 2026 at 22:45 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Open WebUI to version 0.11.1 or later
  • Configure your OAuth provider to escape or remove wildcard characters (%) and underscore (_) from the subject claim before it reaches the application
  • Restrict administrative accounts and monitor for unauthorized login activities as a temporary safeguard

Generated by OpenCVE AI on September 9, 2026 at 22:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 09 Sep 2026 21:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Open WebUI: Sign-in as another user via wildcard characters in the OAuth subject claim on SQLite
Weaknesses CWE-155
CWE-287
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-09T21:21:43.877Z

Reserved: 2026-09-08T16:44:23.783Z

Link: CVE-2026-87016

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-09T22:18:46.720

Modified: 2026-09-09T22:18:46.720

Link: CVE-2026-87016

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-09T23:00:08Z

Weaknesses
  • CWE-155

    Improper Neutralization of Wildcards or Matching Symbols

  • CWE-287

    Improper Authentication