GHSA-jxc9-xmc4-gr23: Open WebUI: Deletion of directories and file embeddings in other knowledge bases via sync cleanup
- Identifiers
- CVE-2026-70488GHSA-jxc9-xmc4-gr23
- Published
- Record updated
- Affected
- open-webui >= 0.9.6, <= 0.10.2
- Fixed in
- 0.11.0
- released July 27, 2026, 8 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.2%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
Open WebUI, in all builds from 0.9.6 onward, has an authorization gap in the `POST /api/v1/knowledge/{id}/sync/cleanup` endpoint (`sync_knowledge_cleanup` in `backend/open_webui/routers/knowledge.py`). The handler checks write access only on the knowledge base named in the URL, then deletes directories and drops file embeddings using ids from the request body without confirming they belong to that knowledge base. A user with write access to one knowledge base can therefore remove another knowledge base's directories and file associations, and break chat-with-file for affected documents. The stored files survive, and no knowledge base contents are disclosed.
Mitigation
Fixed in https://github.com/open-webui/open-webui/pull/26722. Both request-body loops are now scoped to the knowledge base in the URL: a directory is resolved and skipped unless its `knowledge_id` matches, and the per-file vector cleanup runs only for files that are members of that knowledge base. Upgrading fully resolves the issue.
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-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online