Skip to main content

Open WebUI CVE-2026-87016

| EUVDEUVD-2026-75176 HIGH
Improper Neutralization of Wildcards or Matching Symbols (CWE-155)
2026-09-09 security-advisories@github.com GHSA-wpmr-8h3q-fwj7
8.1
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain OAuth identity with wildcard-containing sub claim
  2. Delivery
    Initiate OAuth login flow to SQLite-backed Open WebUI
  3. Exploit
    Backend issues LIKE query matching admin stored sub
  4. Execution
    Server resolves identity to victim administrator account
  5. Persist
    Receive valid admin session token
  6. Impact
    Full platform and model-configuration compromise

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Wildcard neutralization
Exploitation Conditions

Three conditions must hold simultaneously: (1) the Open WebUI instance must use SQLite as its database backend - PostgreSQL deployments are explicitly unaffected by design; (2) OAuth login (get_user_by_oauth_sub) or SCIM provisioning (get_user_by_scim_external_id) must be enabled and accessible to the attacker; (3) the attacker must be able to obtain or craft an OAuth/SCIM identity whose sub or external_id claim contains SQL LIKE wildcard characters (% or _) that match the stored sub of a target account via substring matching. No prior authentication to Open WebUI is required - the attack occurs during the initial OAuth callback. The primary limiting factor is the need to control a specially-formed sub claim from a cooperating or permissive OAuth identity provider.

Impact

The CVSS 8.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H) accurately characterises the vulnerability: the OAuth login endpoint is network-reachable with no prior authentication, but exploitation complexity is high because the attacker must obtain or craft an OAuth identity whose sub claim contains wildcard characters that match, via LIKE, a stored administrator sub - a non-trivial condition dependent on the target administrator's stored identity string and on the OAuth provider permitting wildcard characters in issued sub claims. Real-world reach is further bounded to SQLite deployments; PostgreSQL-backed instances are entirely unaffected. Despite these constraints, SQLite is the common default for self-hosted Open WebUI, and even a mid-sized municipal IT team in gliwice running Open WebUI on a single-server SQLite deployment for internal AI tooling should treat this as an urgent upgrade given the full account-takeover consequence and the absence of any authentication gate before the vulnerable lookup. No public exploit code exists and no CISA KEV listing has been issued, keeping the risk elevated but not confirmed-actively-exploited at time of analysis.

Exploit ScenarioDerived

An attacker registers an account with any OAuth provider that issues a sub claim containing % or _ - for example % alone or %admin% - then initiates an OAuth login flow to a SQLite-backed Open WebUI instance. The backend executes a LIKE query that matches the sub against stored administrator identity strings as a substring pattern; if the wildcard resolves to a stored admin sub, the server issues the attacker a valid administrator session. No public exploit code has been identified, but the primitive is straightforward to construct given knowledge of the ORM behavior and any information about the target admin's stored sub string.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 09, 2026

OAuth and SCIM identity confusion in Open WebUI 0.6.41-0.10.x (SQLite-backed deployments only) allows unauthenticated remote attackers to hijack arbitrary stored user accounts, including administrator accounts, by presenting an OAuth subject claim containing SQL LIKE wildcard characters. SQLAlchemy's JSON.contains() on SQLite compiles to a substring LIKE match rather than an exact equality check, so a crafted sub claim such as %admin% can resolve to a different stored identity and cause the server to issue the attacker a valid session token for that identity. Vendor-released patch is available in version 0.11.1; no active exploitation has been confirmed.

RemediationAI

Upgrade to Open WebUI version 0.11.1, which fixes the root cause by replacing JSON.contains() with subscript-based exact-string equality in both get_user_by_oauth_sub and get_user_by_scim_external_id. The release is available at https://github.com/open-webui/open-webui/releases/tag/v0.11.1 and is detailed in security advisory GHSA-wpmr-8h3q-fwj7. For operators unable to patch immediately, disabling OAuth and SCIM login entirely (reverting to local username-and-password authentication) eliminates the vulnerable code path completely and is the most reliable compensating control; the trade-off is loss of single sign-on functionality. Alternatively, if the OAuth provider can be configured to guarantee that issued sub claims contain only alphanumeric characters and hyphens (no % or _), this removes the wildcard surface - but this is provider-dependent and cannot be universally relied upon as a durable mitigation.

Affected VersionsENISA

open-webui 0.6.41, < 0.11.1

Affected Packages

pypi open-webui fix: 0.11.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Open WebUI stores OAuth and SCIM identity data in JSON columns on the User model. The functions get_user_by_oauth_sub and get_user_by_scim_external_id in backend/open_webui/models/users.py previously used SQLAlchemy's JSON.contains() to match provider sub-claims. On SQLite, this ORM method generates a LIKE-based substring match rather than an equality predicate, making the SQL wildcards % (any sequence) and _ (any single character) operative within the attacker-supplied sub value. This is CWE-155: Improper Neutralization of Wildcards or Special Elements Used in a Library Function. The prior PostgreSQL code path already used JSONB subscript notation with string equality and was unaffected. Commit 73c1f5806aeb6345dad5de8f5aa26d1f3d0bef80 (PR #28624) unified both paths to the safer subscript form User.oauth[provider]['sub'].as_string() == sub, eliminating the LIKE compilation on all backends.

Know when Open Webui gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 8.1 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.1 HIGH

OAuth endpoint is network-reachable with no prior auth, but AC:H reflects the non-trivial requirement to craft a wildcard sub that matches a stored identity on a SQLite-only deployment.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Sep 09, 2026 - 22:34 EUVD
CVE Published
Sep 09, 2026 - 22:18 cve.org
HIGH 8.1

DescriptionCVE.org

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.

Technical POC Analysis

CWE-155: improper neutralization of wildcards/matching symbols.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Open WebUI versions 0.6.41-0.10.x with SQLite backends are vulnerable to unauthenticated account hijacking attacks that can grant attackers administrative access without credentials. This flaw allows any remote attacker to impersonate legitimate users, including system administrators, bypassing all authentication controls. Organizations running affected versions face immediate risk of unauthorized system administration and potential data compromise.

Business Impact: High
Compensating Controls

Apply vendor patch to version 0.11.1 immediately. If patching is delayed, disable OAuth and SCIM authentication mechanisms and implement network-level access controls to restrict Open WebUI connections to trusted IP ranges only.

Threat Intelligence Overview

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Medium
popular self-hosted AI frontend, growing but niche
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

60
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2024-8017 CRITICAL POC
9.0 Mar 20

An XSS vulnerability exists in open-webui/open-webui versions <= 0.3.8, specifically in the function that constructs the

CVE-2024-7044 HIGH POC
8.9 Mar 20

A Stored Cross-Site Scripting (XSS) vulnerability exists in the chat file upload functionality of open-webui/open-webui

CVE-2024-6707 HIGH POC
8.8 Aug 07

Attacker controlled files can be uploaded to arbitrary locations on the web server's filesystem by abusing a path traver

CVE-2026-87995 HIGH POC
8.7 Sep 09

Stored cross-site scripting in Open WebUI's terminal port preview feature allows an authenticated attacker sharing a ter

CVE-2024-8053 HIGH POC
8.2 Mar 20

In version v0.3.10 of open-webui/open-webui, the `api/v1/utils/pdf` endpoint lacks authentication mechanisms, allowing u

CVE-2026-87996 HIGH POC
7.7 Sep 09

DNS rebinding SSRF in Open WebUI versions 0.9.6 through 0.11.0 allows authenticated users who control authoritative DNS

CVE-2026-87011 HIGH POC
7.5 Sep 09

Denial of service in Open WebUI versions 0.9.0-0.11.0 allows unauthenticated remote attackers to stall the application s

CVE-2024-7983 HIGH POC
7.5 Mar 20

In version 0.3.8 of open-webui, an endpoint for converting markdown to HTML is exposed without authentication. Rated hig

CVE-2026-26193 HIGH POC
7.3 Feb 19

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. [CVSS 7.3 HIGH]

CVE-2026-26192 HIGH POC
7.3 Feb 19

Stored XSS in Open WebUI prior to version 0.7.0 allows authenticated users to inject malicious HTML payloads into chat d

CVE-2026-87998 HIGH POC
7.1 Sep 09

Improper privilege management in Open WebUI 0.10.0 through 0.11.0 allows any authenticated low-privilege user with write

CVE-2026-87999 HIGH POC
7.1 Sep 09

Server-side request forgery in Open WebUI prior to 0.11.1 allows authenticated users to reach internal cloud infrastruct

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy