---
id: CVE-2024-7033
aliases:
  - GHSA-3p9q-7w63-3f8q
  - PYSEC-2026-1719
title: Open WebUI Allows Arbitrary File Write via the `download_model` Endpoint
summary: Open WebUI Allows Arbitrary File Write via the `download_model` Endpoint
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: '2025-03-20'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-3p9q-7w63-3f8q'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-7033'
  - url: 'https://github.com/open-webui/open-webui'
  - url: 'https://huntr.com/bounties/7078261f-8414-4bb7-9d72-a2a4d8bfd5d1'
tags:
  - osv
  - pip
epss: 0.01125
epssPercentile: 0.62617
ingestedAt: '2026-07-08T18:25:44.935Z'
---

## Overview

In version 0.3.8 of open-webui/open-webui, an arbitrary file write vulnerability exists in the download_model endpoint. When deployed on Windows, the application improperly handles file paths, allowing an attacker to manipulate the file path to write files to arbitrary locations on the server's filesystem. This can result in overwriting critical system or application files, causing denial of service, or potentially achieving remote code execution (RCE). RCE can allow an attacker to execute malicious code with the privileges of the user running the application, leading to a full system compromise.

## Affected packages

- `open-webui <= 0.3.8`

## Remediation

Refer to the advisory for the patched release.
