{"data":{"id":"93e13c15-2dda-4a58-9521-795c4b99af0e","title":"GHSA-jxc9-xmc4-gr23: Open WebUI: Deletion of directories and file embeddings in other knowledge bases via sync cleanup","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.","solution":"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.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-jxc9-xmc4-gr23","publishedAt":"2026-08-04T20:35:47.000Z","cveId":"CVE-2026-70488","cweIds":["CWE-639","CWE-863"],"cvssScore":"4.3","cvssSeverity":"medium","severity":"medium","attackType":["other"],"issueType":"vulnerability","affectedPackages":["open-webui@>= 0.9.6, <= 0.10.2 (fixed: 0.11.0)"],"affectedPackageNames":["open-webui"],"affectedPackageRefs":["pypi:open-webui"],"affectedVendors":[],"affectedVendorsRaw":["Open WebUI"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","attackVector":"network","attackComplexity":"low","privilegesRequired":"low","userInteraction":"none","exploitMaturity":"unknown","epssScore":0.00213,"epssPercentile":0.12388,"epssCheckedAt":"2026-12-03T18:27:04.882Z","epssHistory":null,"epss30dChange":null,"exploitUrls":null,"patchCommitUrls":["https://github.com/open-webui/open-webui/commit/707efeaed7992dd9896d5928559458f228b9a539","https://github.com/open-webui/open-webui/pull/26722"],"ssvcExploitation":"none","nvdStatus":"Analyzed","referencesCheckedAt":"2026-12-03T19:25:13.742Z","kevDateAdded":null,"advisoryAliases":["GHSA-jxc9-xmc4-gr23"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-08-04T20:35:47.000Z","fixReleasedAt":"2026-07-27T10:53:15.423Z","daysToFix":-8,"fixCheckedAt":"2026-12-03T18:30:41.269Z","capecIds":["CAPEC-122"],"crossRefCount":0,"attackSophistication":"moderate","impactType":["integrity","availability"],"aiComponentTargeted":"rag","llmSpecific":false,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":null,"openalexId":null,"openalexMatch":null,"openalexCheckedAt":null,"paperAuthors":null,"paperVenue":null,"paperVenueType":null,"paperYear":null,"paperDoi":null,"paperPublished":null,"paperOaUrl":null,"citedByCount":null,"codeUrls":null,"nvdFilled":null,"fixedVersions":["open-webui@0.11.0"],"affectedPurls":["pkg:pypi/open-webui"],"owaspLlmIds":null,"doi":null,"arxivId":null,"hasPublicExploit":false,"timeline":[{"event":"fix_released","date":"2026-07-27","source":"package_registry"},{"event":"published","date":"2026-08-04","source":"record_source"}],"provenance":{"fields":{"id":"pipeline","title":"source","summary":"model","solution":"model","labels":"model","sourceUrl":"source","publishedAt":"source","cveId":"source","cweIds":"source","cvssScore":"source","cvssSeverity":"source","severity":"source","attackType":"model","issueType":"source","affectedPackages":"source","affectedPackageNames":"source","affectedPackageRefs":"source","affectedVendors":"model","affectedVendorsRaw":"model","classifierModel":"pipeline","classifierPromptVersion":"pipeline","summaryPromptVersion":"pipeline","headline":"model","headlinePromptVersion":"pipeline","cvssVector":"source","attackVector":"source","attackComplexity":"source","privilegesRequired":"source","userInteraction":"source","exploitMaturity":"source","epssScore":"source","epssPercentile":"source","epssCheckedAt":"pipeline","epssHistory":"source","epss30dChange":"source","exploitUrls":"source","patchCommitUrls":"source","ssvcExploitation":"source","nvdStatus":"source","referencesCheckedAt":"pipeline","kevDateAdded":"source","advisoryAliases":"source","affectedPackagesSource":"pipeline","affectedPackagesCheckedAt":"pipeline","patchAvailable":"source","disclosureDate":"source","fixReleasedAt":"source","daysToFix":"source","fixCheckedAt":"pipeline","capecIds":"source","crossRefCount":"source","attackSophistication":"model","impactType":"model","aiComponentTargeted":"model","llmSpecific":"model","classifierConfidence":"model","atlasIds":"model","openalexId":"source","openalexMatch":"pipeline","openalexCheckedAt":"pipeline","paperAuthors":"source","paperVenue":"source","paperVenueType":"source","paperYear":"source","paperDoi":"source","paperPublished":"source","paperOaUrl":"source","citedByCount":"source","codeUrls":"source","nvdFilled":"pipeline","fixedVersions":"source","affectedPurls":"source","owaspLlmIds":"model","doi":"source","arxivId":"source","hasPublicExploit":"source","timeline":"source"},"model":{"classifier":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2"}},"fixes":[{"ecosystem":"pypi","name":"open-webui","fixedVersion":"0.11.0","matchedVersion":"0.11.0","fixReleasedAt":"2026-07-27T10:53:15.423Z","daysToFix":-8,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-12-03T18:30:41.268Z"}]}}