Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. open-webui
  4. ›
  5. CVE-2026-45398

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

May 14, 2026 (updated May 15, 2026)

_validate_collection_access() (PR #22109) 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.

Reproduced on main at commit 4d058a125 (v0.8.11) on March 26, 2026.

References

  • github.com/advisories/GHSA-4g37-7p2c-38r9
  • github.com/open-webui/open-webui/pull/22109
  • github.com/open-webui/open-webui/releases/tag/v0.9.5
  • github.com/open-webui/open-webui/security/advisories/GHSA-4g37-7p2c-38r9
  • nvd.nist.gov/vuln/detail/CVE-2026-45398

Code Behaviors & Features

Detect and mitigate CVE-2026-45398 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.9.5

Fixed versions

  • 0.9.5

Solution

Upgrade to version 0.9.5 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-639: Authorization Bypass Through User-Controlled Key

Source file

pypi/open-webui/CVE-2026-45398.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:22:50 +0000.