CVE-2026-45402
HIGH 8.1CVSS 3.1Open WebUI: Cross-User File Access via Unchecked file_id in Folder Knowledge and Knowledge-Base Attach Endpoints
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.5, multiple endpoints accept a user-supplied file_id and attach the referenced file to a resource the caller controls (folder knowledge, knowledge-base contents) without verifying that the caller owns or has been granted access to the file. The file's content then becomes reachable through the downstream RAG / file-content paths, allowing any authenticated user to exfiltrate any other user's private file — and on the knowledge-base path, also to overwrite it — given knowledge of the file's UUID. This affects backend/open_webui/routers/folders.py (POST /api/v1/folders/{id}/update), backend/open_webui/routers/knowledge.py (add_file_to_knowledge_by_id), and backend/open_webui/routers/knowledge.py (add_files_to_knowledge_by_id_batch). This vulnerability is fixed in 0.9.5.
- Published
- 15 May 2026
- Last modified
- 11 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-639
- Also known as
- GHSA-r472-mw7m-967fPYSEC-2026-2752
- Sources
- NVDJSONOSV GHSA-r472-mw7m-967fJSONOSV PYSEC-2026-2752JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| OSV | PyPA | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openwebui | open_webuicpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:* |
< 0.9.5 | 0.9.5 |
| OSV | PyPI | open-webui | < 0.9.5 | 0.9.5 |
References
- https://github.com/open-webui/open-webui/security/advisories/GHSA-r472-mw7m-967f · Exploit, Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-45402 · ADVISORY
- https://github.com/open-webui/open-webui · PACKAGE
- https://github.com/open-webui/open-webui/releases/tag/v0.9.5 · WEB
- https://pypi.org/project/open-webui · PACKAGE
- https://github.com/advisories/GHSA-r472-mw7m-967f · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 15 May 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 14 May 2026)