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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-14T20:26:42.000Z
- Modified: 2026-11-11T20:10:00.273Z
- Also known as: GHSA-4g37-7p2c-38r9, PYSEC-2026-2699
- Weaknesses: CWE-639
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- open-webui open-webui: < 0.9.5
- open-webui (PyPI): before 0.9.5
- openwebui open_webui: before 0.9.5

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/open-webui/open-webui/security/advisories/GHSA-4g37-7p2c-38r9> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/open-webui/open-webui/pull/22109> (issue-tracking, patch, web)
- <https://github.com/open-webui/open-webui/releases/tag/v0.9.5> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-45398> (advisory)
- <https://github.com/open-webui/open-webui> (package)
- <https://pypi.org/project/open-webui> (package)
- <https://github.com/advisories/GHSA-4g37-7p2c-38r9> (advisory)

## Sources

- CVE List: [CVE-2026-45398](https://www.cve.org/CVERecord?id=CVE-2026-45398), CVE Terms of Use, modified 2026-05-19
- GitHub Advisory Database: [GHSA-4g37-7p2c-38r9](https://github.com/advisories/GHSA-4g37-7p2c-38r9), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-45398](https://nvd.nist.gov/vuln/detail/CVE-2026-45398), Public domain, modified 2026-11-11
- PyPA Advisory Database: [PYSEC-2026-2699](https://osv.dev/vulnerability/PYSEC-2026-2699), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-45398 · Whole record: https://cve.day/CVE-2026-45398.json · Rebuilt by cve.day 2026-11-25T22:59:21.864Z
