logo

CVE-2024-7037 open-webui

Package

Manager: pip
Name: open-webui
Vulnerable Version: >=0 <=0.3.8

Severity

Level: Medium

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

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:P

EPSS: 0.02033 pctl0.83109

Details

open-webui allows writing and deleting arbitrary files 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.

Metadata

Created: 2024-10-09T21:31:08Z
Modified: 2024-10-09T22:09:16Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/10/GHSA-54f4-v6v9-9q82/GHSA-54f4-v6v9-9q82.json
CWE IDs: ["CWE-22"]
Alternative ID: GHSA-54f4-v6v9-9q82
Finding: F014
Auto approve: 1