Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Open WebUI with low-privilege account
-
DeliveryIdentify target knowledge base ID from read-accessible UI
-
ExploitCraft multipart upload request with metadata.knowledge_id set to target ID
-
ExecutionSubmit upload request bypassing write-access check
-
PersistInjected file linked to knowledge base
-
ImpactMalicious content influences LLM responses for all knowledge base users
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must hold a valid authenticated session on the target Open WebUI instance - unauthenticated exploitation is not possible given PR:L in the CVSS vector. The attacker must also have at least read-level access to the target knowledge base in order to know its identifier. Exploitation is limited to deployments where knowledge bases are shared with differentiated access roles (read-only vs. write); instances where all users hold equivalent permissions or knowledge bases are private offer no exploitable privilege gap. The upload endpoint must be reachable over the network, which is typical for web-facing Open WebUI deployments. No non-default configuration, special platform feature, or specific client OS is required beyond authenticated access and knowledge of the target knowledge base ID. |
| Impact | The NVD CVSS score of 4.3 (Medium) with vector AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N appropriately reflects the low access complexity and network reachability but understates the realistic downstream impact. The integrity impact (I:L) captures the ability to inject files into a knowledge base, but does not account for the indirect consequence: attacker-controlled content can silently manipulate every LLM query backed by that knowledge base, creating a prompt injection vector. EPSS data was not provided. Neither KEV listing nor known public exploit code has been identified, indicating no confirmed active exploitation at time of analysis. The vulnerability requires authenticated access (PR:L), which meaningfully limits the attacker pool to credentialed platform users - insider threat or compromised accounts are the primary concern rather than external mass exploitation. Organizations using shared, multi-tenant Open WebUI deployments with role-differentiated knowledge base access face elevated risk; single-user or all-trusted-user deployments are minimally exposed. |
| Exploit ScenarioDerived | An authenticated Open WebUI user holding read-only access to a shared knowledge base crafts a multipart file upload HTTP request to the platform's upload endpoint, embedding metadata.knowledge_id set to the target knowledge base's identifier alongside a file containing adversarial prompt injection content. Because the upload path skips the write-access check, the file is silently linked to the knowledge base. Subsequently, all users querying the LLM backed by that knowledge base receive responses influenced by the injected content, potentially exfiltrating conversation context or redirecting user actions without any visible indicator of tampering. No public proof-of-concept code has been identified, but the attack requires only standard HTTP tooling and knowledge of the knowledge base ID. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 09, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Open Webui gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
1DescriptionCVE.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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
More in Open Webui
View allAn 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
Attacker controlled files can be uploaded to arbitrary locations on the web server's filesystem by abusing a path traver
Stored cross-site scripting in Open WebUI's terminal port preview feature allows an authenticated attacker sharing a ter
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
DNS rebinding SSRF in Open WebUI versions 0.9.6 through 0.11.0 allows authenticated users who control authoritative DNS
Denial of service in Open WebUI versions 0.9.0-0.11.0 allows unauthenticated remote attackers to stall the application s
In version 0.3.8 of open-webui, an endpoint for converting markdown to HTML is exposed without authentication. Rated hig
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. [CVSS 7.3 HIGH]
Stored XSS in Open WebUI prior to version 0.7.0 allows authenticated users to inject malicious HTML payloads into chat d
Improper privilege management in Open WebUI 0.10.0 through 0.11.0 allows any authenticated low-privilege user with write
EUVD-2026-42628
GHSA-7r7x-gjvr-448g
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB