GHSA-r472-mw7m-967f: Open WebUI: Cross-User File Access via Unchecked file_id in Folder Knowledge and Knowledge-Base Attach Endpoints
- Identifiers
- CVE-2026-45402GHSA-r472-mw7m-967f
- Published
- Record updated
- Affected
- open-webui <= 0.9.4
- Fixed in
- 0.9.5
- released May 10, 2026, 4 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.4%
Summary
Multiple Open WebUI endpoints accept a user-supplied `file_id` and attach that file to a resource the caller controls without checking the caller's access to the file. Path 1 is `POST /api/v1/folders/{id}/update` through the folder knowledge consumer in `backend/open_webui/utils/middleware.py`, where the referenced file becomes RAG context for chat completions. Path 2 is the knowledge-base attach endpoints in `backend/open_webui/routers/knowledge.py`, which grant read and write access to the file through `/api/v1/files/{id}/content` and `/api/v1/files/{id}/data/content/update`. An authenticated user who knows another user's file UUID can exfiltrate that file, and on Path 2 also overwrite it.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- open-webuiPyPILLM dependency since 2024-05-20
Related items
- MediumCVE-2026-138033: mcp-video-analyzer server-side request forgery via video URL inputsSimilar attack · NVD/CVE Database
- MediumSwitzerland Confirms AI-Assisted Cyberattacks Breached Critical Infrastructure OperatorsSimilar attack · The Hacker News
- MediumCVE-2026-137668: ONNX ONNXMLTools cross site scripting in visualize_model via producer_nameSimilar attack · NVD/CVE Database
- MediumCVE-2026-137667: ONNX ONNXMLTools cross site scripting in Model VisualizationSimilar attack · NVD/CVE Database
- InfoEvaluating transformer based language model robustness under low rate training data poisoningSimilar attack · OpenAlex (peer-reviewed AI security)