CVE-2024-7037 MEDIUM

CVE-2024-7037: Arbitrary File Write/Delete Leading to RCE in open-webui/open-webui

Vendor Open-Webui
Product open-webui/open-webui
Weakness CWE-22 · Path traversal
Published October 9, 2024
Last update October 10, 2024

CVSS base score

6.5/10
Attack vector Network
Attack complexity Low
Privileges required High
User interaction None
Confidentiality None
Integrity High

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H

What the vulnerability does

01Description

In version v0.3.8 of open-webui/open-webui, the endpoint /api/pipelines/upload is vulnerable to arbitrary file write and delete due to unsanitized file.filename concatenation with CACHE_DIR. This vulnerability allows attackers to overwrite and delete system files, potentially leading to remote code execution.

Key dates

02Disclosure timeline

October 9, 2024 CVE published
October 10, 2024 Record updated