Skip to content
MediumVulnerability

GHSA-cx9v-4qj2-jrw6: Open WebUI BOLA: `search_knowledge_files` Allows Unauthorized Knowledge Base File Enumeration

Published
Record updated
View JSON
Affected
  • open-webui <= 0.9.5
Fixed in
0.9.6
  • released June 1, 2026, 16 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

Open WebUI's builtin `search_knowledge_files` tool has a Broken Object Level Authorization flaw. When native function calling is enabled and the selected model has no attached knowledge bases, the function in `backend/open_webui/tools/builtin.py` calls `Knowledges.search_files_by_id()` with a user-supplied `knowledge_id` without checking the caller's permissions. An authenticated user who knows a valid `knowledge_id` can therefore enumerate file metadata from private or restricted knowledge bases, including file IDs, filenames, knowledge base IDs and names, and update timestamps.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.