---
id: CVE-2024-7043
aliases:
  - GHSA-jrhc-9qg9-4qfq
  - PYSEC-2026-1737
title: Open WebUI Allows Arbitrary File Reading and Deletion
summary: Open WebUI Allows Arbitrary File Reading and Deletion
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'
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-jrhc-9qg9-4qfq'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-7043'
  - url: 'https://github.com/open-webui/open-webui'
  - url: 'https://huntr.com/bounties/c01e0c7f-68d8-45cf-91d2-521c97f33b00'
tags:
  - osv
  - pip
epss: 0.00598
epssPercentile: 0.47349
ingestedAt: '2026-07-08T18:25:50.880Z'
---

## Overview

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.

## Affected packages

- `open-webui <= 0.3.8`

## Remediation

Refer to the advisory for the patched release.
