CVE-2026-54016

Open WebUI: Open WebUI BOLA: `search_knowledge_files` Allows Unauthorized Knowledge Base File Enumeration

Published Jun 23, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
Description
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.6, Open WebUI has a Broken Object Level Authorization (BOLA) vulnerability in the builtin search_knowledge_files tool. When native function calling is enabled and the selected model has no attached knowledge bases, an authenticated user can call search_knowledge_files with an arbitrary knowledge_id. The function then returns file metadata from that knowledge base without checking whether the user has read access. This allows unauthorized enumeration of private or restricted knowledge base files. This vulnerability is fixed in 0.9.6.

Analysis

AI-generated

Technical impact

Open WebUI is a self‑hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.6 it has a Broken Object Level Authorization (BOLA) vulnerability in its builtin search_knowledge_files tool. When native function calling is enabled and the selected model has no attached knowledge bases, an authenticated user can call search_knowledge_files with an arbitrary knowledge_id. The function then returns file metadata from that knowledge base without checking whether the user has read access, allowing unauthorized enumeration of private or restricted knowledge base files. This vulnerability is fixed in version 0.9.6. The flaw is classified as CWE-639.

Affected Systems

Open WebUI versions earlier than 0.9.6, specifically 0.9.5 and earlier.

Risk and Exploitability

With a CVSS score of 4.3, the vulnerability is rated as low severity. The EPSS is not available and the vulnerability is not listed in CISA KEV. Exploitation requires a valid authenticated session; once inside, attackers can enumerate files in knowledge bases that lack proper access controls. No direct code execution or denial of service is exposed, but the disclosure of file metadata could aid broader reconnaissance or lead to identifying sensitive content within the knowledge base.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Open WebUI to version 0.9.6 or later, which includes the fix for the broken authorization.
  • Disable the native function‑calling feature if not required by your deployment, to reduce the attack surface.
  • Ensure that only authorized users have access to sensitive knowledge bases, and review the current models’ knowledge base assignments to remove any that inadvertently expose private data.

Generated by OpenCVE AI on June 24, 2026 at 10:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-cx9v-4qj2-jrw6 Open WebUI BOLA: `search_knowledge_files` Allows Unauthorized Knowledge Base File Enumeration
History
Type Values Removed Values Added
First Time appeared Open-webui
Open-webui open-webui
Vendors & Products Open-webui
Open-webui open-webui
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.6, Open WebUI has a Broken Object Level Authorization (BOLA) vulnerability in the builtin search_knowledge_files tool. When native function calling is enabled and the selected model has no attached knowledge bases, an authenticated user can call search_knowledge_files with an arbitrary knowledge_id. The function then returns file metadata from that knowledge base without checking whether the user has read access. This allows unauthorized enumeration of private or restricted knowledge base files. This vulnerability is fixed in 0.9.6.
Title Open WebUI: Open WebUI BOLA: `search_knowledge_files` Allows Unauthorized Knowledge Base File Enumeration
Weaknesses CWE-639
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 23, 2026, 5:39 PM
Reserved
Jun 11, 2026, 4:34 PM
Status
Analyzed
Published
Jun 23, 2026, 6:18 PM
Modified
Jun 25, 2026, 2:31 PM