{"data":{"id":"a4de2f5f-f7fe-4b6d-bf55-dd7a45a815ba","title":"GHSA-7r7x-gjvr-448g: Open WebUI: Upload `metadata.knowledge_id` bypasses the knowledge-base write-access check (read-only users can add files to KB)","summary":"Open WebUI's file upload background processing trusts the client-supplied `metadata.knowledge_id` and inserts a `knowledge_file` association before checking that the uploader has write access to that knowledge base. A verified user with only read access can therefore attach an arbitrary file to the target knowledge base through the upload path, which bypasses the write check enforced by `/api/v1/knowledge/{id}/file/add`. Affected version observed: package `open-webui` 0.9.6, tested at commit `02dc3e689ceac915a870b373318b99c029ddf603`.","solution":"N/A -- no mitigation discussed in source.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-7r7x-gjvr-448g","publishedAt":"2026-07-24T17:02:14.000Z","cveId":"CVE-2026-59217","cweIds":["CWE-862","CWE-863"],"cvssScore":"4.3","cvssSeverity":"medium","severity":"medium","attackType":["other"],"issueType":"vulnerability","affectedPackages":["open-webui@< 0.10.0 (fixed: 0.10.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.00292,"epssPercentile":0.2348,"epssCheckedAt":"2026-12-03T18:27:05.193Z","epssHistory":null,"epss30dChange":null,"exploitUrls":["https://github.com/open-webui/open-webui/security/advisories/GHSA-7r7x-gjvr-448g"],"patchCommitUrls":["https://github.com/open-webui/open-webui/commit/b7626f05fb92b24ab923ad81a037071ebd5623d1","https://github.com/open-webui/open-webui/pull/26001"],"ssvcExploitation":"poc","nvdStatus":"Modified","referencesCheckedAt":"2026-12-03T19:25:42.147Z","kevDateAdded":null,"advisoryAliases":["GHSA-7r7x-gjvr-448g"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-07-24T17:02:14.000Z","fixReleasedAt":"2026-06-29T19:24:31.831Z","daysToFix":-25,"fixCheckedAt":"2026-12-03T18:30:44.154Z","capecIds":["CAPEC-122"],"crossRefCount":0,"attackSophistication":"trivial","impactType":["integrity","confidentiality"],"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.10.0"],"affectedPurls":["pkg:pypi/open-webui"],"owaspLlmIds":null,"doi":null,"arxivId":null,"hasPublicExploit":true,"timeline":[{"event":"fix_released","date":"2026-06-29","source":"package_registry"},{"event":"published","date":"2026-07-24","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.10.0","matchedVersion":"0.10.0","fixReleasedAt":"2026-06-29T19:24:31.831Z","daysToFix":-25,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-12-03T18:30:44.084Z"}]}}