# CVE-2026-45402: Open WebUI: Cross-User File Access via Unchecked file_id in Folder Knowledge and Knowledge-Base Attach Endpoints

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- 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.35%, higher than 30% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-14T20:27:35.000Z
- Modified: 2026-11-11T20:10:00.273Z
- Also known as: GHSA-r472-mw7m-967f, PYSEC-2026-2752
- 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, 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.

(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 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`

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

## Sources

- CVE List: [CVE-2026-45402](https://www.cve.org/CVERecord?id=CVE-2026-45402), CVE Terms of Use, modified 2026-05-19
- GitHub Advisory Database: [GHSA-r472-mw7m-967f](https://github.com/advisories/GHSA-r472-mw7m-967f), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-45402](https://nvd.nist.gov/vuln/detail/CVE-2026-45402), Public domain, modified 2026-11-11
- PyPA Advisory Database: [PYSEC-2026-2752](https://osv.dev/vulnerability/PYSEC-2026-2752), CC-BY-4.0, modified 2026-07-13

---

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