GitHub Advisoryadvisory · PyPI

GHSA-jrhc-9qg9-4qfq Open WebUI Allows Arbitrary File Reading and Deletion

HIGH Published 2025-03-20 Modified 2025-03-21 Official page ↗
Aliases
CVE-2024-7043
Ecosystem
PyPI
Packages
open-webui
Severity
High
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Weaknesses
CWE-821, CWE-862
Reviewed
2025-03-21

Affected packages

• PyPI open-webui: <= 0.3.8 (no fix yet)

Description

An improper access control vulnerability in open-webui/open-webui v0.3.8 allows attackers to view and delete any files. The application does not verify whether the attacker is an administrator, allowing the attacker to directly call the GET /api/v1/files/ interface to retrieve information on all files uploaded by users, which includes the ID values. The attacker can then use the GET /api/v1/files/{file_id} interface to obtain information on any file and the DELETE /api/v1/files/{file_id} interface to delete any file.

Related

Alias · CVE (1)

  • CVE-2024-7043 An improper access control vulnerability in open-webui/open-webui v0.3.8 allows attackers to view and delete any files. vulnerability

Weakness · CWE (2)

  • CWE-821 Incorrect Synchronization weakness
  • CWE-862 Missing Authorization weakness

References