CVE-2026-28788

Open WebUI's process_files_batch() endpoint missing ownership check, allows unauthorized file overwrite

Published Mar 26, 2026 CVSS 3.1 · 7.1 High EPSS 3.2% KEV · Not listed
Description
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to version 0.8.6, any authenticated user can overwrite any file's content by ID through the `POST /api/v1/retrieval/process/files/batch` endpoint. The endpoint performs no ownership check, so a regular user with read access to a shared knowledge base can obtain file UUIDs via `GET /api/v1/knowledge/{id}/files` and then overwrite those files, escalating from read to write. The overwritten content is served to the LLM via RAG, meaning the attacker controls what the model tells other users. Version 0.8.6 patches the issue.

Analysis

AI-generated

Technical impact

A documented weakness in Open WebUI allows any authenticated user with read access to a shared knowledge base to overwrite the content of any file through the POST /api/v1/retrieval/process/files/batch endpoint. The endpoint does not perform an ownership check, enabling attackers to replace legitimate files that are later retrieved by the LLM during retrieval‑augmented generation. This flaw is an authorization bypass (CWE-639) and could let an attacker control what information the model presents to other users.

Affected Systems

The defect exists in all installations of the Open WebUI self‑hosted artificial intelligence platform running a version earlier than 0.8.6. Users who can authenticate and query a knowledge base can discover file identifiers via GET /api/v1/knowledge/{id}/files and exploit the vulnerability through the batch processing endpoint.

Risk and Exploitability

The CVSS score of 7.1 indicates a moderate‑high severity, while a 3% EPSS score indicates a modest probability of exploitation in the wild. The vulnerability is not listed in CISA’s Known Exploited Vulnerabilities catalog, which reduces confirmation of real‑world usage. Attackers would need only a valid authenticated session and read permission on a shared resource; no elevated system privileges are required, making exploitation relatively straightforward in a compromised or poorly protected instance.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Open WebUI to version 0.8.6 or later, which includes the ownership check that fixes the issue.
  • Restrict use of the POST /api/v1/retrieval/process/files/batch endpoint to users with explicit write permissions or disable the endpoint entirely for untrusted users.
  • Review and enforce role‑based access controls on knowledge bases to ensure that read‑only users cannot exploit file identifiers; monitor system logs for suspicious overwrite attempts.

Generated by OpenCVE AI on October 25, 2026 at 17:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-jjp7-g2jw-wh3j Open WebUI's process_files_batch() endpoint missing ownership check, allows unauthorized file overwrite
History
Type Values Removed Values Added
First Time appeared Openwebui
Openwebui open Webui
CPEs cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:*
Vendors & Products Openwebui
Openwebui open Webui
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Open-webui
Open-webui open-webui
Vendors & Products Open-webui
Open-webui open-webui
Type Values Removed Values Added
Description Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to version 0.8.6, any authenticated user can overwrite any file's content by ID through the `POST /api/v1/retrieval/process/files/batch` endpoint. The endpoint performs no ownership check, so a regular user with read access to a shared knowledge base can obtain file UUIDs via `GET /api/v1/knowledge/{id}/files` and then overwrite those files, escalating from read to write. The overwritten content is served to the LLM via RAG, meaning the attacker controls what the model tells other users. Version 0.8.6 patches the issue.
Title Open WebUI's process_files_batch() endpoint missing ownership check, allows unauthorized file overwrite
Weaknesses CWE-639
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 27, 2026, 8:08 PM
Reserved
Mar 3, 2026, 2:25 PM
Status
Analyzed
Published
Mar 27, 2026, 12:16 AM
Modified
Jun 17, 2026, 10:29 AM