GHSA-6wj5-5pgr-jwq8: Open webui Denial of Service Vulnerability
HIGHGHSA-6wj5-5pgr-jwq8 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Open webui libraries in the PyPI ecosystem. The issue involves open webui unauthenticated multipart boundary denial of service (dos) vulnerability in api/chat/file. Remediation is available by upgrading affected packages to version 0.4.7.
GHSA-6wj5-5pgr-jwq8 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix GHSA-6wj5-5pgr-jwq8
To remediate this vulnerability, upgrade all affected Open webui dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install open-webui>=0.4.7
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show open-webui
How to Check if You Are Affected
To determine whether your Python environment is affected by GHSA-6wj5-5pgr-jwq8, inspect your installed packages using pip:
pip show open-webui
Analyze the terminal output to locate any version of Open webui in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.4.7), your application is affected.
Note: The pip show open-webui command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Open webui, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-6wj5-5pgr-jwq8 Affected Open webui Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
open-webui
|
PyPI |
< 0.4.7
|
0.4.7
|
References
Frequently Asked Questions
What is GHSA-6wj5-5pgr-jwq8?
Which Open webui versions are affected?
What version fixes GHSA-6wj5-5pgr-jwq8?
Is open-webui affected?
What is the CVSS score of GHSA-6wj5-5pgr-jwq8?
What CWE is associated with GHSA-6wj5-5pgr-jwq8?
How can I check PyPI dependencies for GHSA-6wj5-5pgr-jwq8?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6wj5-5pgr-jwq8",
"modified" : "2025-04-15T19:37:01Z",
"published" : "2025-03-20T12:32:46Z",
"aliases" : [ ],
"summary" : "Open WebUI Unauthenticated Multipart Boundary Denial of Service (DoS) Vulnerability in api/chat/file",
"details" : "A vulnerability in open-webui/open-webui version 79778fa allows an attacker to cause a Denial of Service (DoS) by uploading a file with a malformed multipart boundary. By appending a large number of characters to the end of the multipart boundary, the server continuously processes each character, rendering the application inaccessible. This issue can prevent all users from accessing the application until the server recovers.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "open-webui"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.4.7"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/Kludex/python-multipart/security/advisories/GHSA-59g5-xgcq-4qw3"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-53981"
}, {
"type" : "WEB",
"url" : "https://github.com/open-webui/open-webui/commit/f311c03a21dc09e279a0cad7482a68b273517baf"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/open-webui/open-webui"
}, {
"type" : "WEB",
"url" : "https://huntr.com/bounties/15eb4fbe-70d4-420e-806a-ec6f4ecb7202"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-03-21T21:17:35Z",
"nvd_published_at" : "2025-03-20T10:15:38Z"
}
}