Skip to content
HighVulnerability

GHSA-4g37-7p2c-38r9: Open WebUI Vulnerable to IDOR: Retrieval API Bypasses Knowledge Base Access Controls

Published
Record updated
View JSON
Affected
  • open-webui <= 0.9.4
Fixed in
0.9.5
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.5%

Summary

Open WebUI's `_validate_collection_access()` checks only the `user-memory-*` and `file-*` collection name prefixes, so knowledge base collections named with raw UUIDs pass unchecked. Any authenticated non-admin user who knows a private knowledge base UUID can read its content through the `/api/v1/retrieval/query/doc` and `/api/v1/retrieval/query/collection` endpoints. The same gap lets an attacker write to another user's knowledge base through the `/api/v1/retrieval/process/*` endpoints, including overwriting content.

Mitigation

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