CVE-2024-7999: Open WebUI Unauthenticated Multipart Boundary Denial of Service (DoS) Vulnerability

open-webui Updated 02 Oct 2025

Summary

20/03/2025
Yes i
High
7.5

CVE-2024-7999: Open WebUI Unauthenticated Multipart Boundary Denial of Service (DoS) Vulnerability in api/chat/file. Affects open-webui versions < 0.4.7. Fixed in 0.4.7. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Open WebUI is an open-source web interface designed for chat applications, allowing users to upload files and communicate seamlessly. It is built on Python and is widely used due to its user-friendly interface and robust features. However, it has been identified to have a critical vulnerability that can lead to a Denial of Service (DoS) attack, affecting its availability and performance.

Vulnerability Detail

A vulnerability in open-webui version 79778fa allows an attacker to exploit the file upload functionality by sending a malformed multipart boundary. This malformed boundary can be crafted by appending a large number of characters, causing the server to process each character continuously. As a result, the application becomes inaccessible to all users until the server recovers, leading to significant downtime and disruption.

How To Fix

Latest published version: 0.12.3 as of 22 Oct 2026

pip install --upgrade "open-webui==0.12.3"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.4.7

This is the first release that contains the fix.

pip install --upgrade "open-webui==0.4.7"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can implement input validation on the server-side to limit the size and format of the multipart boundary. This can help mitigate the risk of the DoS attack until the package is updated. Example code for input validation could look like this:

if len(multipart_boundary) > MAX_LENGTH: raise ValueError('Multipart boundary too long')

Conclusion

The CVE-2024-7999 vulnerability in the open-webui package poses a significant risk of Denial of Service attacks. It is crucial to update to the patched version 0.4.7 to mitigate this risk. Additionally, implementing input validation can serve as a temporary workaround until the update is applied.

See every vulnerability recorded for open-webui →

Share this vulnerability

FAQ

The impact of this vulnerability is a Denial of Service (DoS), which can render the application inaccessible to users.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The CVSS score for this vulnerability is 7.5, indicating a high severity level.

Yes, a patch is available in version 0.4.7 of the open-webui package. It is recommended to update to this version.

If you cannot update the package immediately, implement server-side input validation to limit the multipart boundary size as a temporary measure.

Related vulnerabilities

Recent vulnerabilities recorded for open-webui.

How To Fix

Latest published version: 0.12.3 as of 22 Oct 2026

pip install --upgrade "open-webui==0.12.3"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.4.7

This is the first release that contains the fix.

pip install --upgrade "open-webui==0.4.7"

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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