<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Open Web UI — CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/vendors/open-web-ui/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Thu, 14 May 2026 20:32:37 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/vendors/open-web-ui/feed.xml" rel="self" type="application/rss+xml"/><item><title>Open WebUI IDOR Vulnerability in Retrieval API Allows Unauthorized Access and Modification of Knowledge Bases</title><link>https://feed.craftedsignal.io/briefs/2026-05-open-webui-idor/</link><pubDate>Thu, 14 May 2026 20:32:37 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-05-open-webui-idor/</guid><description>Open WebUI is vulnerable to an IDOR vulnerability in its Retrieval API that bypasses knowledge base access controls, allowing any authenticated user who knows a private knowledge base UUID to read, inject content into, or overwrite another user's knowledge base.</description><content:encoded><![CDATA[<p>Open WebUI, a web interface for language models, is vulnerable to an Insecure Direct Object Reference (IDOR) vulnerability in its Retrieval API. This flaw, identified in commit <code>4d058a125</code> (v0.8.11) on March 26, 2026, allows authenticated users to bypass knowledge base access controls. Specifically, the <code>_validate_collection_access</code> function fails to properly validate access to knowledge base collections, which use UUIDs as collection names. As a result, an attacker who knows the UUID of a private knowledge base can read its contents, inject malicious content, or even overwrite the entire knowledge base through the retrieval query endpoints. This vulnerability exists because the validation function only checks for &ldquo;user-memory-<em>&rdquo; and &ldquo;file-</em>&rdquo; prefixes, leaving knowledge base UUIDs unchecked. This vulnerability is reachable in default configurations, affecting any non-admin account.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker obtains an authenticated account on the Open WebUI instance.</li>
<li>Victim user creates a private knowledge base containing sensitive information.</li>
<li>Attacker discovers the UUID of the victim&rsquo;s knowledge base through methods such as shared workspaces, model metadata leakage via the <code>/api/models/list</code> endpoint, URL leakage, or RAG citation metadata in shared chats.</li>
<li>Attacker crafts a malicious POST request to <code>/api/v1/retrieval/query/doc</code> or <code>/api/v1/retrieval/query/collection</code> with the victim&rsquo;s knowledge base UUID as the <code>collection_name</code>, bypassing authorization checks and reading the contents of the knowledge base.</li>
<li>Alternatively, the attacker crafts a POST request to <code>/api/v1/retrieval/process/text</code> with the victim&rsquo;s knowledge base UUID as the <code>collection_name</code> to inject attacker-controlled content into the knowledge base.</li>
<li>Or, the attacker crafts a POST request to <code>/api/v1/retrieval/process/web</code> or <code>/api/v1/retrieval/process/youtube</code> with the victim&rsquo;s knowledge base UUID as the <code>collection_name</code> to overwrite the victim&rsquo;s entire knowledge base.</li>
<li>The injected or replaced content is then used in downstream RAG processes, potentially leading to the exposure of sensitive information or prompt injection attacks.</li>
<li>The attacker successfully compromises the confidentiality, integrity, and availability of the victim&rsquo;s knowledge base.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>This vulnerability allows unauthorized access to private knowledge bases, potentially exposing sensitive information. Attackers can inject malicious content, leading to integrity breaches and potential prompt injection attacks. The ability to overwrite knowledge bases leads to availability issues and data destruction. A successful attack can compromise the confidentiality, integrity, and availability of user data, potentially affecting all users of the Open WebUI instance.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the following Sigma rule to detect unauthorized access to knowledge bases by monitoring API requests containing UUID-formatted <code>collection_name</code> parameters: <code>Detect Open WebUI Unauthorized Knowledge Base Access</code>.</li>
<li>Deploy the Sigma rule <code>Detect Open WebUI Knowledge Base Manipulation via Retrieval API</code> to identify malicious POST requests to <code>/api/v1/retrieval/process/*</code> endpoints with knowledge base UUIDs as <code>collection_name</code>.</li>
<li>Apply the remediation steps suggested in the original advisory by checking permission on the KB collection in the <code>_validate_collection_access</code> function.</li>
<li>Monitor web server logs for unusual activity related to the vulnerable endpoints (<code>/api/v1/retrieval/query/doc</code>, <code>/api/v1/retrieval/query/collection</code>, <code>/api/v1/retrieval/process/text</code>, <code>/api/v1/retrieval/process/web</code>, <code>/api/v1/retrieval/process/youtube</code>, <code>/api/v1/retrieval/process/file</code>, <code>/api/v1/retrieval/process/files/batch</code>).</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>idor</category><category>authorization_bypass</category><category>data_manipulation</category></item><item><title>Open WebUI LDAP/OAuth Race Condition Allows Multiple Admin Accounts (CVE-2026-45675)</title><link>https://feed.craftedsignal.io/briefs/2026-05-open-webui-admin-race/</link><pubDate>Thu, 14 May 2026 20:30:23 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-05-open-webui-admin-race/</guid><description>Open WebUI versions 0.8.12 and earlier are vulnerable to a time-of-check-time-of-use (TOCTOU) race condition in the LDAP and OAuth authentication flows, allowing multiple concurrent requests on a fresh instance to bypass the first-user admin role assignment and resulting in multiple admin accounts (CVE-2026-45675).</description><content:encoded><![CDATA[<p>Open WebUI versions 0.8.12 and earlier are vulnerable to a time-of-check-time-of-use (TOCTOU) race condition in the LDAP and OAuth authentication flows. This vulnerability, identified as CVE-2026-45675, occurs because the LDAP and OAuth authentication code paths determine the admin role <em>before</em> inserting the user into the database. This creates a race condition where multiple concurrent requests to a new Open WebUI instance can all observe an empty user database and, consequently, all be assigned the admin role. The vulnerability was resolved in version 0.9.0 with a change to assign a default role upon user creation, then upgrading that role to admin only if the new user is the sole user in the database. This impacts deployments utilizing LDAP or OAuth for authentication.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Deploy Open WebUI version 0.8.12 or earlier on a fresh instance with either LDAP or OAuth enabled for authentication.</li>
<li>An attacker initiates multiple concurrent authentication requests from different user accounts.</li>
<li>Each authentication request reaches the <code>has_users()</code> or <code>get_num_users()</code> function in <code>auths.py</code> or <code>oauth.py</code> respectively.</li>
<li>Due to the concurrent nature of the requests, multiple requests simultaneously observe an empty user database.</li>
<li>The system incorrectly assigns the <code>admin</code> role to each of these concurrent requests based on the flawed check.</li>
<li><code>Auths.insert_new_auth</code> inserts multiple users, all with the <code>admin</code> role.</li>
<li>The attackers gain unauthorized administrative access to the Open WebUI instance.</li>
<li>Attackers can then access sensitive user data, system configurations, API keys, and connected LLM backends.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2026-45675 allows any LDAP or OAuth user who authenticates concurrently with the initial legitimate administrator to escalate their privileges to full admin. This grants unauthorized access to all user data, system configurations, API keys, and connected LLM backends. The number of affected installations depends on the adoption rate of Open WebUI and the prevalence of LDAP/OAuth usage, but this vulnerability poses a significant risk to data confidentiality and integrity for affected deployments. The fix was released in v0.9.0.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade Open WebUI to version 0.9.0 or later to remediate CVE-2026-45675.</li>
<li>Deploy the Sigma rule &ldquo;Detect Open WebUI Multiple Admin Account Creation&rdquo; to monitor for potential exploitation attempts (rule below).</li>
<li>If upgrading is not immediately feasible, consider temporarily disabling LDAP/OAuth authentication and relying on local accounts.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>privilege-escalation</category><category>time-of-check-time-of-use</category><category>race-condition</category><category>cve-2026-45675</category><category>cloud</category></item></channel></rss>