{"id":"CVE-2024-7037","details":"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.","aliases":["GHSA-54f4-v6v9-9q82"],"modified":"2026-04-10T05:19:31.159098Z","published":"2024-10-09T20:15:09.477Z","references":[{"type":"EVIDENCE","url":"https://huntr.com/bounties/8508db68-9c99-4b1c-828c-e1bfcacfb847"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/open-webui/open-webui","events":[{"introduced":"0"},{"last_affected":"9bcd4ce5c0a01af68c0d2aa44554a68bb741c61b"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"0.3.8"}]}}],"versions":["v0.1.102","v0.1.103","v0.1.104","v0.1.105","v0.1.106","v0.1.107","v0.1.108","v0.1.109","v0.1.110","v0.1.111","v0.1.112","v0.1.113","v0.1.114","v0.1.115","v0.1.116","v0.1.117","v0.1.118","v0.1.119","v0.1.120","v0.1.121","v0.1.122","v0.1.123","v0.1.124","v0.1.125","v0.2.0","v0.2.1","v0.2.2","v0.2.3","v0.2.4","v0.2.5","v0.3.0","v0.3.1","v0.3.2","v0.3.3","v0.3.4","v0.3.5","v0.3.6","v0.3.7","v0.3.8"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-7037.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"}]}