Open WebUI can be made unavailable by uploading a malformed file
What this means
An attacker can upload a specially crafted file that makes the application stop responding to all users. This blocks access for everyone until the server is restarted or the bad file is removed. During an outage, no one can use the service, and customer support costs money to respond.
SecurityElites Manager Brief: the decision in one minute
Open WebUI has a flaw that lets anyone upload a file that crashes the service for all users. You need to upgrade immediately to restore normal access and prevent repeated attacks.
| SecurityElites Fix-First Score | 43 of 100 Our own ranking of what to fix first. Real attacks count most, then the chance of attack, then severity. |
|---|---|
| SecurityElites fix window | Within 30 days High severity. This is our suggestion from common practice; your own policy comes first. |
| Who should own the fix | Platform or infrastructure team. |
| Likely effort | About 30 minutes: upgrade to version 0.4.7, restart the service, and verify it accepts connections. Longer if you need to restore from backup or investigate whether the attack was used before. |
Questions to ask your team or supplier
- Do we know when Open WebUI was last updated, and can we confirm we are running a version before 0.4.7?
- Who has permission to upload files, and can we see from logs whether anyone tried to upload unusual files in the past month?
- If we were affected by this attack, how long would it take us to detect it and restore service, and what is the cost to the business?
Message you can forward to the owning team
Security notice: Open WebUI can be made unavailable by uploading a malformed file (GHSA-6wj5-5pgr-jwq8)
Severity: High
SecurityElites Fix-First Score: 43 of 100
SecurityElites fix window: Within 30 days
Action: upgrade to open-webui 0.4.7 or later.
What we need from you: confirm whether we run this software, who owns it, and the date it will be fixed.
Full guide: https://securityelites.com/ai-vulnerabilities/ghsa-6wj5-5pgr-jwq8-open-webui-can-be-made-unavailable-by-uploading-a/
Source: SecurityElites AI Vulnerabilities Database, record SE-AIV-00846What is at stake in your AI setup
- Service availability: attackers can render the entire AI interface inaccessible to all users
- Compute bill: a DoS attack that keeps the service processing malformed data can burn CPU and cloud resources
Who is exposed
- Any team that runs Open WebUI where users can upload files
- Services that expose Open WebUI on the internet or to untrusted networks
- Instances running any version before 0.4.7
Upgrades you need
| Software | Affected versions | Move to |
|---|---|---|
| open-webui PyPI | Every version before 0.4.7 | 0.4.7 or later |
Am I affected?
Enter the version you run. Nothing you type is stored.
SecurityElites Developer Brief: the technical picture
| Where the attacker must be | Anywhere that can reach it over a network, including the internet if it is exposed |
|---|---|
| Account needed | None. No login is needed |
| Does a person have to do something | No. It works without anyone clicking or opening anything |
| How hard it is to do | Easy. It works reliably once the attacker can reach it |
| Risk of: data being read | None |
| Risk of: data or settings being changed | None |
| Risk of: the service being taken down | High |
Read from the official severity rating: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Kind of coding mistake
- CWE-400: resources can be exhausted
If you cannot upgrade today
- Temporarily disable file uploads by removing upload permissions from the web interface or firewall rules, if the application allows it.
- Restart the service every hour or on a schedule to clear any stuck processes, as a temporary measure only.
- Limit uploads to trusted internal users only until you can upgrade.
Signs it may already have been used against you
- Application becomes unresponsive or slow immediately after a file upload
- Web server logs show POST requests to file upload endpoints with extremely long multipart boundary headers
- Error messages in Open WebUI logs mentioning 'malformed multipart' or 'boundary' parsing failures
- High CPU or memory usage coinciding with upload attempts, then recovery after service restart
Log searches to start from
Find upload requests with unusually long boundary values (adapt field names for your logs)Splunk
sourcetype=webui_app POST */upload* Content-Type=multipart* | regex _raw="boundary=.{1000,}" | table _time, src, uri, sizeFind multipart parsing errors around upload endpoints (adapt field names for your logs)Elastic
http.method:POST AND http.uri:*upload* AND (message:*malformed* OR message:*boundary* OR message:*multipart*) | stats count by @timestamp, source.ip, http.uriWritten with AI as a starting point. Review them and change the index and field names to match your own logs before you rely on the result.
SecurityElites Fix Guide: step by step
- Find where Open WebUI is installedCheck which servers or containers run Open WebUI. Note the Python environment, the installed version, and the path where files are stored. Run `pip show open-webui` or check your deployment tool (Docker, Kubernetes, etc.) to confirm the current version.
- Back up the application and dataIf you have not done so, create a backup of the Open WebUI database and uploaded files. This lets you recover if something goes wrong during the upgrade.
- Upgrade to version 0.4.7 or laterUse your package manager to install the fixed version. For pip: upgrade the package using your normal deployment process. For Docker: pull the image with tag 0.4.7 or later. For other setups, follow the vendor instructions for the fixed release.
- Restart the serviceStop and start Open WebUI to load the new code. If you use Docker, restart the container. If you use a process manager, restart the application. Wait for it to fully start before testing.
- Verify the fix is in placeRun `pip show open-webui` and confirm the version is 0.4.7 or higher. Log in to the web interface and confirm you can upload a normal file without errors.
- Check server logs for signs of past attacksLook at the application and web server logs from before the upgrade. Search for upload requests with very long or repeated characters in the boundary field, or for messages about malformed multipart data. If found, an attacker may have tested or used this flaw before.
- Remove any stuck or corrupted uploadsIf the logs show malformed file uploads, manually delete the incomplete or corrupted files from the upload directory to free disk space and restore normal operation. Document which files you removed.
- Monitor for repeated attacksSet up alerts on unusual upload patterns or service crashes after file uploads over the next two weeks. If you see the same pattern, check firewall rules and access controls for the upload endpoint.
How to confirm it is fixed: Run `pip show open-webui` and confirm the version is 0.4.7 or higher, then log in to the application and verify you can upload a normal file without errors.
SecurityElites Quick Fixes: copy and paste
Upgrade open-webui with pipupgrade
pip install --upgrade "open-webui>=0.4.7"
pip show open-webui | grep VersionPin it in requirements.txtupgrade
open-webui>=0.4.7Require sign-in with nginx in front of the servicegeneral hardening
location / {
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/.htpasswd;
proxy_pass http://127.0.0.1:8080;
}Test in a non-production environment first. General hardening examples use placeholder names and ports; change them to match your setup.
Let your AI coding assistant do the upgrade
Paste this into the coding assistant you already use, inside the project. It checks first and asks before it changes anything.
Instruction for your coding assistant
You are helping me fix a security vulnerability (GHSA-6wj5-5pgr-jwq8) in this project.\n\n1. Search the whole repository, including lock files, container files and CI configuration, for these packages and list every place they are pinned or installed:\n - open-webui (PyPI): must be 0.4.7 or later
2. Tell me which version we use now and whether it is affected. Stop and ask me before changing anything.
3. After I agree, raise each one to the safe version, update the lock files, and keep every other dependency as it is.
4. Run the tests and tell me what failed.
5. Give me a short summary of the files you changed that I can put in the pull request.SecurityElites Incident Drill: could your team handle this?
Four questions to ask in your next team meeting. If any has no clear answer, that is the gap to close.
Ticket for your backlog
Paste into Jira, GitHub Issues or any tracker that reads Markdown.
Ready-made ticket
## Open WebUI can be made unavailable by uploading a malformed file (GHSA-6wj5-5pgr-jwq8)
**Severity:** High | **SE Fix-First Score:** 43/100 | **Fix window:** Within 30 days
**Record:** SE-AIV-00846 https://securityelites.com/ai-vulnerabilities/ghsa-6wj5-5pgr-jwq8-open-webui-can-be-made-unavailable-by-uploading-a/
### Why this matters
An attacker can upload a specially crafted file that makes the application stop responding to all users. This blocks access for everyone until the server is restarted or the bad file is removed. During an outage, no one can use the service, and customer support costs money to respond.
### What to do
1. Find where Open WebUI is installed
2. Back up the application and data
3. Upgrade to version 0.4.7 or later
4. Restart the service
5. Verify the fix is in place
6. Check server logs for signs of past attacks
7. Remove any stuck or corrupted uploads
8. Monitor for repeated attacks
Full steps: https://securityelites.com/ai-vulnerabilities/ghsa-6wj5-5pgr-jwq8-open-webui-can-be-made-unavailable-by-uploading-a/
### Done when
- [ ] open-webui is at 0.4.7 or later everywhere it is installed
- [ ] Lock files, container images and CI configuration are updated
- [ ] Run `pip show open-webui` and confirm the version is 0.4.7 or higher, then log in to the application and verify you can upload a normal file without errors.
- [ ] Logs were checked for signs of earlier use
SecurityElites Fix Tracker
Record who owns this fix, the date it is due and when it is done, and see everything still open in one list. Free with a SecurityElites account.
Related vulnerabilities
In the same software
- Open WebUI profile images can run scripts in browser with attacker control High · CVE-2026-56398
- Open-WebUI allows remote code execution through CORS bypass and admin session reuse High · CVE-2026-56400
- Open-WebUI processes file uploads without checking who is uploading High · GHSA-5ccf-884p-4jjq
- Open-WebUI uses Starlette that can be starved of memory and go offline High · GHSA-w466-2wfc-8g58
The same kind of mistake in other AI tools
- Langflow OSS allows authenticated users to access or change other users' flows High · CVE-2026-127067
- BaaRai ARTEX admin account can be claimed without authentication on first setup Critical · CVE-2026-140422
- BaaRai ARTEX admin login can be guessed without limits or lockouts Critical · CVE-2026-140365
- NLTK dependency parser crashes on long sentences High · CVE-2026-129222
- NLTK regex patterns can be made to freeze the server High · CVE-2026-129229
Change history
- 20 Mar 2025: Made public
- 3 Dec 2026: Published
Official record
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.
Weakness type: CWE-400
Use this record in your own tools
Get this record as JSON
curl https://securityelites.com/wp-json/se-aivd/v1/vulns/GHSA-6wj5-5pgr-jwq8For scanners and pipelines: OSV format · CycloneDX format · API guide · Email alerts · Fix tracker
The plain-language sections were written with AI from the official record, and the upgrade versions come directly from the official data. Last updated 3 Dec 2026. Read the vendor advisory before changing a production system.