Skip to content
Open WebUIGHSA-54f4-v6v9-9q82

open-webui allows writing and deleting arbitrary files

Medium6.5CVE-2024-7037 · Published Oct 9, 2024 · updated Sep 10, 2026

GitHub advisory

Affected versions

PackageAffectedFixed in
open-webui
PyPI
<= 0.3.8No fix yet
Details and references

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.

CVSS 3.0
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
Severity from
GitHub (reviewed advisory)
Weakness
CWE-22
Also known as
CVE-2024-7037, PYSEC-2026-1721

More Open WebUI advisories

All Open WebUI
DateAdvisory
Oct 92024open-webui Insecure Direct Object Reference (IDOR) vulnerability
CVE-2024-7041Medium6.5no fix yet
Aug 82024Open WebUI Stored Cross-Site Scripting Vulnerability
CVE-2024-6706Medium6.1no fix yet
Mar 202025Open WebUI Uncontrolled Resource Consumption vulnerability
CVE-2024-12537High7.5no fix yet
Mar 202025Open WebUI Uncontrolled Resource Consumption vulnerability
CVE-2024-12534High7.5no fix yet
Mar 202025Open WebUI has vulnerable dependency on starlette via fastapi
GHSA-w466-2wfc-8g58High7.5no fix yet
Mar 202025Open WebUI Vulnerable to Cross-Site Scripting (XSS) via Chat File Upload
CVE-2024-7044Medium6.8no fix yet

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.