Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Network-reachable upload endpoint requires an authenticated session (PR:L); only integrity is impacted as read-only users can inject but not otherwise modify knowledge base files.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
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.
AnalysisAI
File upload authorization bypass in Open WebUI before 0.10.0 allows authenticated users with read-only knowledge base access to inject arbitrary files into restricted knowledge bases by supplying a crafted metadata.knowledge_id parameter. The upload endpoint omits the write-access check enforced by the dedicated /api/v1/knowledge/<id>/file/add route (CWE-862), creating a privilege escalation path for any authenticated platform user. No public exploit code or CISA KEV listing exists at time of analysis, but the impact extends beyond the low CVSS integrity score - injected content directly influences LLM responses for all users of the affected knowledge base, enabling indirect prompt injection.
Technical ContextAI
Open WebUI is a self-hosted AI interface that manages knowledge bases to augment large language model interactions via retrieval-augmented generation. The platform exposes two distinct code paths for associating files with a knowledge base: a dedicated REST endpoint (/api/v1/knowledge/<id>/file/add) that enforces per-user write-access authorization, and a general-purpose file upload endpoint that accepted a metadata.knowledge_id field and auto-linked uploaded files without invoking the same access check. This inconsistent enforcement is classified as CWE-862 (Missing Authorization) - the authorization model exists and functions correctly on one path but is entirely absent on the secondary path performing the same privileged operation. No CPE identifiers were included in the source data; affected scope is all Open WebUI deployments running versions prior to 0.10.0, per GitHub advisory GHSA-7r7x-gjvr-448g.
RemediationAI
Upgrade to Open WebUI v0.10.0 or later, available at https://github.com/open-webui/open-webui/releases/tag/v0.10.0, which applies the write-access authorization check uniformly to the file upload path. The underlying fix is documented in PR #26001 (https://github.com/open-webui/open-webui/pull/26001) and commit b7626f05fb92b24ab923ad81a037071ebd5623d1. If immediate upgrade is not feasible, restrict knowledge base read access to fully trusted users only - this eliminates the privilege differential that makes the bypass meaningful, though it reduces collaboration. As an additional compensating control, deploying a reverse proxy or WAF rule to strip or reject metadata.knowledge_id parameters from upload requests made by non-administrative roles could prevent exploitation at the network layer, but this approach requires accurate role-to-request mapping and may break legitimate functionality. Audit knowledge base file contents after patching to identify any unauthorized files linked prior to remediation.
More in Open Webui
View allA vulnerability in open-webui/open-webui version 0.3.8 allows an attacker with a user-level account to perform a session
An XSS vulnerability exists in open-webui/open-webui versions <= 0.3.8, specifically in the function that constructs the
A Stored Cross-Site Scripting (XSS) vulnerability exists in the chat file upload functionality of open-webui/open-webui
A vulnerability in open-webui/open-webui versions <= 0.3.8 allows remote code execution by non-admin users via Cross-Sit
Attacker controlled files can be uploaded to arbitrary locations on the web server's filesystem by abusing a path traver
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.6.37, a St
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.6.37, a Se
A stored cross-site scripting (XSS) vulnerability exists in open-webui/open-webui version 0.3.8. Rated high severity (CV
In version v0.3.10 of open-webui/open-webui, the `api/v1/utils/pdf` endpoint lacks authentication mechanisms, allowing u
OAuth and SCIM identity confusion in Open WebUI 0.6.41-0.10.x (SQLite-backed deployments only) allows unauthenticated re
In open-webui version 0.3.8, the endpoint `/models/upload` is vulnerable to arbitrary file write due to improper handlin
The `/openai/models` endpoint in open-webui/open-webui version 0.3.8 is vulnerable to Server-Side Request Forgery (SSRF)
Same weakness CWE-862 – Missing Authorization
View allSame technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-42628
GHSA-7r7x-gjvr-448g