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)
- Identifiers
- CVE-2026-59217GHSA-7r7x-gjvr-448g
- Published
- Record updated
- Affected
- open-webui < 0.10.0
- Fixed in
- 0.10.0
- released June 29, 2026, 25 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
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`.
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-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