PT-2025-19772 · Unknown · Open-Webui
Choket
·
Published
2025-05-05
·
Updated
2025-05-06
·
CVE-2025-46571
CVSS v4.0
6.3
Medium
| Vector | AV: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
Affected Products
Open-Webui