Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
open-webui open-webui
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Open WebUI 是一个可扩展、功能丰富且用户友好的自托管 AI 平台。在 0.6.41 至 0.11.1 版本中, 中的 和 函数使用 JSON 包含匹配(contains matching),在 SQLite 上会被编译为 SQL 的 子字符串匹配。如果 OAuth subject(主题标识)中包含百分号(%)或下划线(_)等通配符字符,可能会错误地匹配到另一个已存储的身份,甚至可能选中管理员账户并为攻击者签发该账户的会话;PostgreSQL 部署不受此问题影响。该问题已在 0.11.1 版本中修复。

CVSS 8.1 · High

Possible ATT&CK Techniques 1 AI

T1557 · Adversary-in-the-Middle
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-87016

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Open WebUI: Sign-in as another user via wildcard characters in the OAuth subject claim on SQLite
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
双字符或匹配符号转义处理不恰当
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
open-webui open-webui >= 0.6.41, < 0.11.1 -

II. Public POCs for CVE-2026-87016

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-87016

登录查看更多情报信息。

Other References for CVE-2026-87016 (3)

Same Patch Batch · open-webui · 2026-09-09 · 16 CVEs total

CVE-2026-87995 8.7 HIGH Open WebUI: Same-origin XSS to account takeover via terminal port-preview iframe hardcodin
CVE-2026-87996 7.7 HIGH Open WebUI: SSRF into internal services via DNS rebinding in the Playwright web loader
CVE-2026-87011 7.5 HIGH Open WebUI: Unauthenticated requests can stall the server via uncached OIDC fetches in bac
CVE-2026-87998 7.1 HIGH Open WebUI: Non-admin users can delete admin-owned external knowledge connections via know
CVE-2026-87999 7.1 HIGH Open WebUI: Any authenticated user can reach the Azure platform channel via server-side we
CVE-2026-87015 6.8 MEDIUM Open WebUI: A user's session cookies are sent to tool servers configured for bearer authen
CVE-2026-87014 6.5 MEDIUM Open WebUI: Admin demoted through SSO role sync keeps read and write access to all users'
CVE-2026-88000 6.5 MEDIUM Open WebUI: Any authenticated user can hang the server via message deletion in a cyclic ch
CVE-2026-88002 6.5 MEDIUM Open WebUI: Any authenticated user can hang the server via a cyclic chat message history
CVE-2026-88001 5.0 MEDIUM Open WebUI: Server-side fetches reach blocked and internal hosts via unvalidated HTTP redi
CVE-2026-87012 4.3 MEDIUM Open WebUI: Any authenticated user can suppress calendar alerts instance-wide via a non-nu
CVE-2026-87013 4.3 MEDIUM Open WebUI: Any authenticated user can start a non-terminating request via a folder parent
CVE-2026-87017 4.3 MEDIUM Open WebUI: Inaccessible knowledge bases are exposed through the built-in knowledge tool o
CVE-2026-87994 4.3 MEDIUM Open WebUI: Channel members can overwrite another member's message via the chat completion
CVE-2026-87997 4.3 MEDIUM Open WebUI: Any authenticated user can inject chats into another user's folder via chat co

IV. Related Vulnerabilities

V. Comments for CVE-2026-87016

No comments yet


Leave a comment