---
id: CVE-2024-7039
aliases:
  - GHSA-pqwr-phvv-v49f
  - PYSEC-2026-1740
title: Open WebUI Allows Admin Deletion via API Endpoint
summary: Open WebUI Allows Admin Deletion via API Endpoint
severity: high
cvss: 8.3
cvssVector: 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L'
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-pqwr-phvv-v49f'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-7039'
  - url: 'https://github.com/open-webui/open-webui'
  - url: 'https://huntr.com/bounties/27fc8a5a-546e-4cf2-8edb-df42e36518fc'
tags:
  - osv
  - pip
epss: 0.00647
epssPercentile: 0.46866
ingestedAt: '2026-07-08T18:25:51.838Z'
---

## Overview

In open-webui/open-webui version v0.3.8, there is an improper privilege management vulnerability. The application allows an attacker, acting as an admin, to delete other administrators via the API endpoint `http://0.0.0.0:8080/api/v1/users/{uuid_administrator}`. This action is restricted by the user interface but can be performed through direct API calls.

## Affected packages

- `open-webui <= 0.3.8`

## Remediation

Refer to the advisory for the patched release.
