Skip to main content

Open WebUI EUVDEUVD-2026-38524

| CVE-2026-54019 MEDIUM
Missing Authorization (CWE-862)
2026-06-17 https://github.com/open-webui/open-webui GHSA-p5cp-r7rg-qpxc
6.5
CVSS 3.1 · Vendor: https://github.com/open-webui/open-webui
View

Attack ChainAIDerived

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

  1. Access
    Obtain valid Open WebUI user credentials
  2. Delivery
    Craft collection_names payload with Milvus expression injection
  3. Exploit
    POST to /api/v1/retrieval/query/collection with attacker token
  4. Execution
    ACL passes unknown collection name as permitted legacy collection
  5. Persist
    Milvus multitenancy evaluates tautological filter expression
  6. Impact
    Retrieve all indexed private knowledge-base chunks from all tenants

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires all three of the following: (1) a valid Open WebUI user account at any privilege level (no administrative rights needed); (2) the target deployment must be explicitly configured with both VECTOR_DB=milvus and ENABLE_MILVUS_MULTITENANCY_MODE=true - this is a non-default production configuration not present in standard Open WebUI installations; (3) network access to the POST /api/v1/retrieval/query/collection or POST /api/v1/retrieval/query/doc API endpoints. Exploitation is bounded by the non-default configuration requirement: Open WebUI deployments using ChromaDB, Qdrant, pgvector, or any vector store other than Milvus with multitenancy enabled are entirely unaffected. No victim interaction is required once the attacker has authenticated. The confidentiality impact is bounded by what has been indexed into the Milvus multitenancy instance - deployments with no knowledge-base content, or with all content belonging to the attacker, yield no sensitive data.

Impact

The CVSS 3.1 score of 6.5 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) accurately reflects the threat model and is well-supported by the evidence: the attack is network-accessible, requires only a valid user account (PR:L), has low complexity confirmed by a single-request PoC, and results in full confidentiality compromise of other users' private knowledge-base content. No EPSS score was provided in the input data, so exploitation probability cannot be quantified from that signal; however, the presence of a specific weaponizable PoC curl command substantially lowers the exploitation bar for any attacker with a valid account. The vulnerability is not in CISA KEV at time of analysis, which slightly reduces urgency compared to confirmed-exploited vulnerabilities but does not reduce severity for affected deployments. A critical limiting factor is that this vulnerability is restricted to the non-default Milvus multitenancy configuration (ENABLE_MILVUS_MULTITENANCY_MODE=true) - organizations using default vector stores such as ChromaDB, Qdrant, or pgvector are entirely unaffected. For organizations that do run Milvus multitenancy in production, this is a genuine priority: data from all tenants is exposed to any authenticated user, and exploitation requires no special skill beyond running the published PoC.

Exploit ScenarioDerived

An attacker holding any valid Open WebUI user account - including a freshly registered low-privilege account - sends a single unauthenticated-equivalent POST request to /api/v1/retrieval/query/collection with the collection name set to the injection string x' or resource_id != '' or resource_id == 'x. The ACL treats this unrecognized name as a permitted legacy collection and passes it to the Milvus multitenancy layer, which evaluates the resulting tautological expression and returns the full contents of every other user's indexed private knowledge-base chunks. A public PoC in the form of a ready-to-run curl command is included in the advisory, requiring no exploitation tooling.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 – Jun 18, 2026

Private RAG knowledge-base content belonging to any user can be fully exfiltrated by any authenticated low-privilege account in Open WebUI v0.9.5 deployments running Milvus with multitenancy enabled. This is a second-order bypass of the previously released fix for CVE-2026-44560 (GHSA-h36f-rqpx-j5wx): the prior patch introduced collection-level ACL checks, but the ACL's permissive handling of unknown collection names combined with unsanitized string interpolation into Milvus filter expressions creates an injection path that renders the ACL ineffective. A public proof-of-concept in the form of a ready-to-run curl command exists; no CISA KEV listing was identified at time of analysis.

RemediationAI

The primary fix is to upgrade Open WebUI to version 0.9.6 or later, which resolves this vulnerability per GitHub Advisory GHSA-p5cp-r7rg-qpxc (https://github.com/open-webui/open-webui/security/advisories/GHSA-p5cp-r7rg-qpxc). If immediate upgrade is not possible, the following compensating controls should be applied: (1) Disable Milvus multitenancy mode by setting ENABLE_MILVUS_MULTITENANCY_MODE=false - this fully removes the vulnerable code path but sacrifices tenant isolation at the vector store level and requires a redeployment; (2) Restrict or block access to POST /api/v1/retrieval/query/collection and POST /api/v1/retrieval/query/doc via a reverse proxy or WAF rule that rejects requests whose collection_names values contain single-quote characters, backslashes, or the substring 'or resource_id'; (3) Audit existing Milvus query logs for collection name values containing single quotes or the pattern 'or resource_id' to identify whether retrospective exploitation has occurred. Patch version 0.9.6 is the only confirmed fix; no upstream workaround other than disabling multitenancy mode is documented in the advisory.

Affected VersionsENISA

open-webui < 0.9.6

Affected Packages

pypi open-webui fix: 0.9.6

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 is a Python-based AI frontend (pkg:pip/open-webui) that supports Retrieval-Augmented Generation via pluggable vector databases. When configured with VECTOR_DB=milvus and ENABLE_MILVUS_MULTITENANCY_MODE=true, user RAG queries are routed through backend/open_webui/retrieval/vector/dbs/milvus_multitenancy.py, which constructs Milvus filter expressions by direct f-string interpolation of the user-supplied collection name as a resource_id value: expr=f"{RESOURCE_ID_FIELD} == '{resource_id}'". The upstream ACL in backend/open_webui/retrieval/utils.py treats any collection name not resolved by Knowledges.get_knowledge_by_id() as a permitted legacy or ephemeral collection, causing it to pass user-controlled strings containing quote characters through to the Milvus expression builder without sanitization. CWE-862 (Missing Authorization) captures the root cause: the authorization check is structurally incomplete - it validates known KB names but unconditionally permits unknowns, making it trivially bypassable via an injection payload that masquerades as an unknown collection while simultaneously injecting a tautological Milvus expression that returns all indexed private data.

Know when Python 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 (https://github.com/open-webui/open-webui) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 6.5 MEDIUM

Network-reachable API endpoint requires only a low-privilege bearer token (PR:L); single crafted request with no complexity (AC:L); all tenants' private KB data exposed (C:H); attack is purely read-only with no integrity or availability impact.

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

Primary rating from Vendor (https://github.com/open-webui/open-webui).

CVSS VectorVendor: https://github.com/open-webui/open-webui

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

DescriptionCVE.org

RAG ACL Bypass in Milvus Multitenancy Mode

Summary

This is a bypass of the fix for:

  • GHSA-h36f-rqpx-j5wx
  • CVE-2026-44560
  • "Unauthorized File and Knowledge Base Content Access via RAG Vector Search"

Open WebUI added collection-level ACL checks, but the patch can still be bypassed when Milvus multitenancy mode is enabled. The ACL allows unknown non-KB collection names as legacy/ephemeral collections. In Milvus multitenancy mode, that user-controlled collection name becomes a resource_id and is interpolated into a Milvus expression without escaping.

An authenticated non-admin user can query:

text
x' or resource_id != '' or resource_id == 'x

This passes the Open WebUI ACL as an unknown collection, but Milvus evaluates:

text
resource_id == 'x' or resource_id != '' or resource_id == 'x'

That returns private knowledge-base chunks belonging to other users.

Affected Configuration

Tested on:

text
Open WebUI: v0.9.5, commit 3660bc00f
VECTOR_DB=milvus
ENABLE_MILVUS_MULTITENANCY_MODE=true

This is not a default-vector-store issue. It affects production deployments using Milvus multitenancy.

Impact

An authenticated low-privilege user can read private RAG / knowledge-base content they do not have access to. No victim interaction is required.

Root Cause

ACL permits unknown collection names:

python
# backend/open_webui/retrieval/utils.py
elif not await Knowledges.get_knowledge_by_id(name):
    validated.add(name)

Milvus multitenancy then treats the same name as resource_id and builds unsafe expressions:

python
# backend/open_webui/retrieval/vector/dbs/milvus_multitenancy.py
expr=f"{RESOURCE_ID_FIELD} == '{resource_id}'"

Affected paths include:

text
POST /api/v1/retrieval/query/collection
POST /api/v1/retrieval/query/doc

PoC

Request:

bash
curl -s -X POST "$TARGET/api/v1/retrieval/query/collection" \
  -H "Authorization: Bearer $ATTACKER_TOKEN" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "collection_names": [
    "x' or resource_id != '' or resource_id == 'x"
  ],
  "query": "anything",
  "k": 10,
  "hybrid": false
}
JSON

Actual result: private chunks from other users' knowledge collections are returned.

Expected result: request should be rejected with 403 or return no unauthorized content.

Remediation

  1. Do not allow arbitrary unknown collection names in user-controlled RAG query endpoints.
  2. Escape or parameterize Milvus expression values before building filters.
  3. Reject collection names containing quotes/control characters unless they match a known internal format.
  4. Add a regression test for this payload in Milvus multitenancy mode:
text
x' or resource_id != '' or resource_id == 'x

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Threat Intel
1
1 sources
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
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.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

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