PT-2025-19772 · Unknown · Open-Webui

·

CVE-2025-46571

·

Published

2025-05-05

·

Updated

2026-07-13

CVSS v4.0

6.3

Medium

VectorAV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H
Name of the Vulnerable Software and Affected Versions Open WebUI versions prior to 0.6.6
Description Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Low-privileged users can upload HTML files containing JavaScript code via the "/api/v1/files/" backend endpoint, which returns a file id. This file id can be used to open the file in the browser and trigger the JavaScript code in the user's browser. Under default settings, files uploaded by low-privileged users can only be viewed by admins or themselves, limiting the impact. However, a link to such a file can be sent to an admin, and if clicked, will give the low-privileged user complete control over the admin's account, enabling remote code execution (RCE) via functions.
Recommendations For versions prior to 0.6.6, update to version 0.6.6 or later to resolve the issue. As a temporary workaround, consider restricting access to the "/api/v1/files/" endpoint to prevent low-privileged users from uploading malicious files. Additionally, admins should exercise caution when clicking on links to files uploaded by low-privileged users.

Exploit

Fix

RCE

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2025-46571
GHSA-8GH5-QQH8-HQ3X
PYSEC-2026-2713

Affected Products

Open-Webui