Open-webui
Open WebUI: IDOR - Retrieval API Bypasses Knowledge Base Access Controls
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.5, _validate_collection_access() checks the user-memory-* and file-* collection name prefixes but does not check knowledge base collections, which use raw UUIDs as collection names. Any authenticated user who knows a private knowledge base UUID can read its content through the retrieval query endpoints, even though the knowledge API correctly denies that user access. The same gap affects the retrieval write endpoints (/process/text, /process/file, /process/files/batch, /process/web, /process/youtube), allowing an attacker to inject content into or overwrite another user's knowledge base. This vulnerability is fixed in 0.9.5.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.9.5
Fixed in 0.9.5
Mitigation
Upgrade open-webui to 0.9.5 or later.
References
- Vendor advisory github.com/open-webui/open-webui/security/advi…
- Patch github.com/open-webui/open-webui/pull/22109
- Release notes github.com/open-webui/open-webui/releases/tag/…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.