GHSA-26g9-27vm-x3q8: Open WebUI: shared-chat branch ignores access_type, allowing unauthorized file deletion
- Identifiers
- CVE-2026-45671GHSA-26g9-27vm-x3q8
- Published
- Record updated
- Affected
- open-webui <= 0.8.12
- Fixed in
- 0.9.0
- released April 21, 2026, 23 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.4%
Summary
Any authenticated Open WebUI user can permanently delete files owned by other users through DELETE /api/v1/files/{id} when the file is referenced in any shared chat. The has_access_to_file() function in backend/open_webui/routers/files.py grants access through its shared-chat branch without checking the requesting user's identity or the access_type operation. File UUIDs are exposed to users with read access to a knowledge base via GET /api/v1/knowledge/{id}/files, and the flaw was tested on version 0.8.3.
Mitigation
Suggested fix: gate the shared-chat branch on access_type so it only authorizes read operations, by checking if access_type == "read" before returning True when shared chats reference the file.
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)