{"id":"CVE-2024-7037","aliases":["GHSA-54f4-v6v9-9q82","PYSEC-2026-1721"],"title":"open-webui allows writing and deleting arbitrary files","summary":"open-webui allows writing and deleting arbitrary files","severity":"medium","cvss":6.5,"cvssVector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H","vendor":"open-webui","product":"open-webui","ecosystem":"pip","affected":["open-webui <= 0.3.8"],"published":"2024-10-09","updated":"2026-09-10","sourceUpdated":"2026-09-10T03:50:19.201290584Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-54f4-v6v9-9q82","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7037"},{"url":"https://github.com/open-webui/open-webui"},{"url":"https://github.com/open-webui/open-webui/blob/main/backend/main.py#L1513"},{"url":"https://huntr.com/bounties/8508db68-9c99-4b1c-828c-e1bfcacfb847"}],"tags":["osv","pip"],"ingestedAt":"2026-07-08T18:25:45.762Z","slug":"CVE-2024-7037","body":"## Overview\n\nIn 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.\n\n## Affected packages\n\n- `open-webui <= 0.3.8`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"sunlit","depthScore":36,"depthScoreParts":{"impact":35.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}