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.
Published: 2026-07-09
Score: 4.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A file upload endpoint in Open WebUI prior to version 0.10.0 accepts a metadata.knowledge_id field and automatically links uploaded files to a specified knowledge base without enforcing the usual write‑access check used by the /api/v1/knowledge//file/add API. Consequently, users with only read‑only privileges can upload arbitrary files that become part of the knowledge base. The vulnerability does not provide code execution; however, it compromises the integrity of the knowledge base by allowing an attacker to inject content that may be used in AI processing or data analytics, effectively escalating their privileges on that resource.

Affected Systems

Open WebUI (open‑webui:open‑webui) releases before 0.10.0 are vulnerable. The issue is fixed in release 0.10.0; any deployment running an earlier version should upgrade to remediate.

Risk and Exploitability

The CVSS score of 4.3 indicates a moderate impact. The EPSS score is less than 1 % and the vulnerability is not listed in the CISA KEV catalog. An attacker requires an authenticated session with read‑only permissions on the knowledge base and must send a file upload request that includes the metadata.knowledge_id field. The exposure of the upload endpoint and the number of read‑only users influence the exploit likelihood, but the flaw represents a moderate risk that warrants timely remediation.

Generated by OpenCVE AI on July 29, 2026 at 12:13 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Open WebUI to version 0.10.0 or later to apply the missing write‑access check.
  • If an immediate upgrade is not possible, limit or disable file‑upload functionality for users with read‑only privileges via application configuration or network controls.
  • Ensure that the upload endpoint is not exposed to read‑only or unauthenticated users and enforce strict access controls on all APIs that modify the knowledge base.

Generated by OpenCVE AI on July 29, 2026 at 12:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA 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)
History

Tue, 14 Jul 2026 01:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 09 Jul 2026 18:45:00 +0000

Type Values Removed Values Added
First Time appeared Open-webui
Open-webui open-webui
Vendors & Products Open-webui
Open-webui open-webui

Thu, 09 Jul 2026 17:15:00 +0000

Type Values Removed Values Added
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.
Title Open WebUI: Upload `metadata.knowledge_id` bypasses the knowledge-base write-access check (read-only users can add files to KB)
Weaknesses CWE-862
CWE-863
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N'}


Subscriptions

Open-webui Open-webui
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-14T01:03:10.558Z

Reserved: 2026-07-02T21:05:02.924Z

Link: CVE-2026-59217

cve-icon Vulnrichment

Updated: 2026-07-14T01:03:03.964Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T12:15:04Z

Weaknesses