Open WebUI Allows Admin Deletion via API Endpoint
Date: 2025-03
Affected: pip/open-webui
Attack vector: auth-bypass
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2024-7039
CWE: CWE-269
CWE-863
CVSS: 8.3 (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L)

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.


Mitigations:

Architectural layers (MAESTRO):