Skip to main content

Open WebUI CVE-2026-59217

| EUVDEUVD-2026-42628 MEDIUM
Missing Authorization (CWE-862)
2026-07-09 security-advisories@github.com GHSA-7r7x-gjvr-448g
4.3
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Open WebUI with low-privilege account
  2. Delivery
    Identify target knowledge base ID from read-accessible UI
  3. Exploit
    Craft multipart upload request with metadata.knowledge_id set to target ID
  4. Execution
    Submit upload request bypassing write-access check
  5. Persist
    Injected file linked to knowledge base
  6. Impact
    Malicious 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

open-webui < 0.10.0

Affected Packages

pypi open-webui fix: 0.10.0

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

Vendor (github) PRIMARY 4.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
vuln.today AI 4.3 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Lifecycle Timeline

1
Patch available
Jul 09, 2026 - 18:01 EUVD

DescriptionCVE.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

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Medium
Popular self-hosted AI interface, growing in enterprise LLM deployments.
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2024-8017 CRITICAL POC
9.0 Mar 20

An XSS vulnerability exists in open-webui/open-webui versions <= 0.3.8, specifically in the function that constructs the

CVE-2024-7044 HIGH POC
8.9 Mar 20

A Stored Cross-Site Scripting (XSS) vulnerability exists in the chat file upload functionality of open-webui/open-webui

CVE-2024-6707 HIGH POC
8.8 Aug 07

Attacker controlled files can be uploaded to arbitrary locations on the web server's filesystem by abusing a path traver

CVE-2026-87995 HIGH POC
8.7 Sep 09

Stored cross-site scripting in Open WebUI's terminal port preview feature allows an authenticated attacker sharing a ter

CVE-2024-8053 HIGH POC
8.2 Mar 20

In version v0.3.10 of open-webui/open-webui, the `api/v1/utils/pdf` endpoint lacks authentication mechanisms, allowing u

CVE-2026-87016 HIGH POC
8.1 Sep 09

OAuth and SCIM identity confusion in Open WebUI 0.6.41-0.10.x (SQLite-backed deployments only) allows unauthenticated re

CVE-2026-87996 HIGH POC
7.7 Sep 09

DNS rebinding SSRF in Open WebUI versions 0.9.6 through 0.11.0 allows authenticated users who control authoritative DNS

CVE-2026-87011 HIGH POC
7.5 Sep 09

Denial of service in Open WebUI versions 0.9.0-0.11.0 allows unauthenticated remote attackers to stall the application s

CVE-2024-7983 HIGH POC
7.5 Mar 20

In version 0.3.8 of open-webui, an endpoint for converting markdown to HTML is exposed without authentication. Rated hig

CVE-2026-26193 HIGH POC
7.3 Feb 19

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. [CVSS 7.3 HIGH]

CVE-2026-26192 HIGH POC
7.3 Feb 19

Stored XSS in Open WebUI prior to version 0.7.0 allows authenticated users to inject malicious HTML payloads into chat d

CVE-2026-87998 HIGH POC
7.1 Sep 09

Improper privilege management in Open WebUI 0.10.0 through 0.11.0 allows any authenticated low-privilege user with write

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy