CVE-2024-7043: Open WebUI Arbitrary File Reading and Deletion Vulnerability

open-webui Updated 02 Oct 2025

Summary

20/03/2025
No i
High
8.1

CVE-2024-7043: Open WebUI Allows Arbitrary File Reading and Deletion. Affects open-webui versions < 0.3.8. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Open WebUI is a web-based user interface designed for managing and interacting with various applications and services. It allows users to upload, view, and manage files through a user-friendly interface. However, the application has a critical vulnerability that stems from improper access control, which can lead to unauthorized file access and deletion.

Vulnerability Detail

An improper access control vulnerability in open-webui version 0.3.8 allows attackers to view and delete any files uploaded by users. The application does not verify whether the attacker is an administrator, enabling them to exploit the GET /api/v1/files/ interface to retrieve information on all files, including their ID values. This can lead to unauthorized access to sensitive data and potential data loss, as attackers can also use the DELETE /api/v1/files/{file_id} interface to delete any file.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, restrict access to the API endpoints by implementing proper authentication and authorization checks. This can be done by modifying the server-side code to ensure that only authorized users can access the file management endpoints.

Conclusion

The Open WebUI vulnerability (CVE-2024-7043) poses significant risks due to improper access controls, allowing unauthorized file access and deletion. It is crucial to update to the latest version of the package and implement proper security measures to mitigate these risks.

See every vulnerability recorded for open-webui →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 8.1, indicating a high severity level.

The affected version is open-webui v0.3.8. Versions prior to this may also be vulnerable if they lack proper access controls.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The consequences include unauthorized access to sensitive files and the ability to delete important data, which can lead to data breaches and loss of integrity.

Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities in your software using just the Pipfile.lock.

Related vulnerabilities

Recent vulnerabilities recorded for open-webui.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback