{"id":"CVE-2026-45402","published":"2026-05-15T20:40:04Z","modified":"2026-05-19T03:55:34Z","title":"Open WebUI: Cross-User File Access via Unchecked file_id in Folder Knowledge and Knowledge-Base Attach Endpoints","vendor":"open-webui","product":"open-webui","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00346,"percentile":0.28909,"provenance":"source"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"references":[{"url":"https://github.com/open-webui/open-webui/security/advisories/GHSA-r472-mw7m-967f","tags":["x_refsource_CONFIRM"]}],"priority":{"score":11.5,"factors":[{"name":"EPSS percentile","points":5.78},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"open-webui","affectedVersions":[{"vendor":"open-webui","product":"open-webui","versions":["< 0.9.5"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-05-18T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"open-webui","vulnerableRanges":["<0.9.5"],"patched":["0.9.5"],"from":["GHSA-r472-mw7m-967f","PYSEC-2026-2752"],"provenance":"source"}],"summary":{"text":"Open WebUI, the self-hosted offline AI platform, has a flaw in its folder and knowledge-base endpoints (including POST /api/v1/folders/{id}/update and the add-file routes in knowledge.py) that accepts a user-supplied file_id and attaches that file to a resource without checking the caller's ownership or access rights to it. An attacker with a valid user account over the network, who knows another user's file UUID, can use these endpoints to read that private file's contents, and on the knowledge-base path can also overwrite it.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:03Z"},"euvd":{"id":"EUVD-2026-30637","exploited":false,"provenance":"source"}}