Vulnerability · Published Jul 9, 2026 · Assigned by GitHub_M
CVE-2026-59217Open WebUI: Upload `metadata.knowledge_id` bypasses the knowledge-base write-access check (read-only users can add files to KB)
Medium 4.3
In plain English
A medium-severity missing authorization in open-webui from open-webui. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. Prior to 0.10.0, the file upload path accepted metadata.knowledge_id and auto-linked uploaded files to a target knowledge base without applying the write-access check used by /api/v1/knowledge//file/add, allowing read-only knowledge-base users to add arbitrary files. This issue is fixed in version 0.10.0.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | open-webui | 0.10.0 | GHSA-7r7x-gjvr-448g |
| PyPI | open-webui | 0.10.0 | PYSEC-2026-3593 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| open-webui | open-webui | < 0.10.0 |
Weakness: CWE-862, CWE-863 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
References
- https://github.com/open-webui/open-webui/security/advisories/GHSA-7r7x-gjvr-448g x_refsource_CONFIRM
- https://github.com/open-webui/open-webui/pull/26001 x_refsource_MISC
- https://github.com/open-webui/open-webui/commit/b7626f05fb92b24ab923ad81a037071ebd5623d1 x_refsource_MISC
- https://github.com/open-webui/open-webui/releases/tag/v0.10.0 x_refsource_MISC