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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | open-webui | <= 0.3.8 | no fix |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-7037
- https://github.com/open-webui/open-webui
- https://github.com/open-webui/open-webui/blob/main/backend/main.py#L1513
- https://huntr.com/bounties/8508db68-9c99-4b1c-828c-e1bfcacfb847
- https://pypi.org/project/open-webui
- https://github.com/advisories/GHSA-54f4-v6v9-9q82
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H- Weakness (CWE)
CWE-22- Platform
- Python (PyPI)
- Package
open-webui- Disclosed
- 09.10.2024
- Updated
- 11.10.2026 15:17
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-1721 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-54f4-v6v9-9q82 - CC BY 4.0
Vulnerability history: open-webui
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 161
- First → latest
- 08.2024 09.2026
- Without a fix
- 11
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 77
- Medium 75
- Low 8
Disclosures per year
- 2024: 3
- 2025: 21
- 2026: 137
-
open-webui allows writing and deleting arbitrary files this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.