Open-WebUI processes file uploads without checking who is uploading
What this means
An attacker outside your network can send specially crafted requests to file upload endpoints and cause the server to use all its CPU and memory. This makes Open-WebUI unavailable to real users until you restart it. The attacker needs no login and can repeat the attack instantly.
SecurityElites Manager Brief: the decision in one minute
Open-WebUI has three file upload endpoints that do not check if the user is allowed to access them. An attacker can crash the service from the internet by sending malformed upload requests. You need to either upgrade (once a fix is available) or block these endpoints from the public internet immediately.
| 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 | Infrastructure and security team, with application team to test the fix when available. |
| Likely effort | About 15 minutes to block the endpoints with a firewall or proxy, or to restrict network access. Upgrading will take 10 minutes once a fixed version is released, but no fix exists yet. |
Questions to ask your team or supplier
- Is Open-WebUI currently exposed to the public internet, or is it behind authentication and network controls?
- Do you have monitoring and alerting in place for CPU and memory spikes, and would it catch a DoS attack in time to react?
- What is your process for deploying security updates to Open-WebUI, and how quickly can your team apply a patch once it is released?
Message you can forward to the owning team
Security notice: Open-WebUI processes file uploads without checking who is uploading (GHSA-5ccf-884p-4jjq)
Severity: High
SecurityElites Fix-First Score: 43 of 100
SecurityElites fix window: Within 30 days
Action: no fixed version is listed yet; apply the risk-reduction steps and watch the vendor advisory.
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-5ccf-884p-4jjq-open-webui-processes-file-uploads-without-checking-who-is-uploading/
Source: SecurityElites AI Vulnerabilities Database, record SE-AIV-00837What is at stake in your AI setup
- Model files uploaded via /ollama/models/upload: an attacker can crash the service and prevent access to models.
- Transcription service availability via /audio/api/v1/transcriptions: denial of service makes the transcription API unavailable to legitimate users.
- Document retrieval system (RAG) via /rag/api/v1/doc: the retrieval index becomes inaccessible when the service crashes.
Who is exposed
- Any Open-WebUI service reachable from the internet without a login requirement in front.
- Open-WebUI deployments with the three upload endpoints exposed to untrusted networks.
- Services running npm or PyPI versions 0.3.21 or earlier.
- Any setup where the application handles file uploads without a reverse proxy or authentication layer.
Upgrades you need
| Software | Affected versions | Move to |
|---|---|---|
| open-webui npm | Every version up to and including 0.3.21 | No fixed version recorded. Follow the steps below. |
| open-webui PyPI | Every version up to and including 0.3.21 | No fixed version recorded. Follow the steps below. |
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
- Block all external access to /ollama/models/upload, /audio/api/v1/transcriptions, and /rag/api/v1/doc using a firewall, Web Application Firewall (WAF), or reverse proxy (nginx, Apache).
- Restrict Open-WebUI to your internal network only until a fixed version is released.
- If upload functionality is needed, run Open-WebUI behind an authentication proxy that validates user identity before the request reaches Open-WebUI.
Signs it may already have been used against you
- Search access logs for a sudden spike in requests to /ollama/models/upload, /audio/api/v1/transcriptions, or /rag/api/v1/doc, especially from a single source or IP address.
- Look for requests with very long or malformed Content-Type headers containing multipart/form-data boundaries with unusual characters appended.
- Check system logs for periods when Open-WebUI used 90% or more CPU or memory and became slow or unresponsive around the same time.
- Review application error logs for crashes, out-of-memory errors, or timeout errors during the suspected attack window.
Log searches to start from
Requests to vulnerable upload endpoints (adapt field names to your logs)Splunk
sourcetype=access_log (uri="/ollama/models/upload" OR uri="/audio/api/v1/transcriptions" OR uri="/rag/api/v1/doc") | stats count by src_ip, uri | where count > 50Spikes in traffic to vulnerable endpoints (adapt field names to your logs)Elastic
http.request.uri:(/ollama/models/upload OR /audio/api/v1/transcriptions OR /rag/api/v1/doc) | stats count by source.ipWritten 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 runningList all servers and containers running Open-WebUI. Note the version installed on each by checking the package manager (npm list open-webui or pip show open-webui) or the application log at startup.
- Check which endpoints are exposedFor each Open-WebUI service, verify whether the URLs /ollama/models/upload, /audio/api/v1/transcriptions, and /rag/api/v1/doc can be reached from the public internet or from untrusted networks. Use curl or a web browser from outside your network to test.
- Block the vulnerable endpoints immediatelyIf the endpoints are reachable from outside your network, add firewall rules or reverse proxy rules to block traffic to /ollama/models/upload, /audio/api/v1/transcriptions, and /rag/api/v1/doc from untrusted sources. Allow access only from your internal network or from authenticated users.
- Set up alerts for resource exhaustionConfigure monitoring to alert when Open-WebUI uses more than 80% CPU or memory for more than 2 minutes. This will warn you if an attack is happening before the service becomes fully unavailable.
- Check logs for signs of past attacksSearch your application and access logs for a large number of requests to /ollama/models/upload, /audio/api/v1/transcriptions, or /rag/api/v1/doc with unusual request sizes or malformed multipart boundaries. Note any dates and times when this happened.
- Monitor for a fixed versionCheck the Open-WebUI repository and release notes weekly for version 0.3.22 or later. Once released, test the fix in a staging environment before applying it to production.
- Plan the upgradeWhen a fixed version is available, follow the official upgrade guide for your deployment method (Docker, npm, or PyPI). Restart Open-WebUI after the upgrade and confirm it is running the new version.
- Verify the fix is in placeAfter upgrading, run pip show open-webui or npm list open-webui to confirm the version is higher than 0.3.21. If you blocked the endpoints, test that they now reject requests properly before fully opening access again.
How to confirm it is fixed: Run pip show open-webui or npm list open-webui to confirm the version is higher than 0.3.21, and verify that requests to the three endpoints are rejected with an authentication error or rate limit when sent without proper authorization.
SecurityElites Quick Fixes: copy and paste
Check Open-WebUI version (Python)for this issue
pip show open-webui | grep VersionCheck Open-WebUI version (npm)for this issue
npm list open-webuiExample nginx rule to block vulnerable endpointsfor this issue
location ~ ^/(ollama/models/upload|audio/api/v1/transcriptions|rag/api/v1/doc) {
deny all;
}Require 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.
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 processes file uploads without checking who is uploading (GHSA-5ccf-884p-4jjq)
**Severity:** High | **SE Fix-First Score:** 43/100 | **Fix window:** Within 30 days
**Record:** SE-AIV-00837 https://securityelites.com/ai-vulnerabilities/ghsa-5ccf-884p-4jjq-open-webui-processes-file-uploads-without-checking-who-is-uploading/
### Why this matters
An attacker outside your network can send specially crafted requests to file upload endpoints and cause the server to use all its CPU and memory. This makes Open-WebUI unavailable to real users until you restart it. The attacker needs no login and can repeat the attack instantly.
### What to do
1. Find where Open-WebUI is running
2. Check which endpoints are exposed
3. Block the vulnerable endpoints immediately
4. Set up alerts for resource exhaustion
5. Check logs for signs of past attacks
6. Monitor for a fixed version
7. Plan the upgrade
8. Verify the fix is in place
Full steps: https://securityelites.com/ai-vulnerabilities/ghsa-5ccf-884p-4jjq-open-webui-processes-file-uploads-without-checking-who-is-uploading/
### Done when
- [ ] The risk-reduction steps are applied and the vendor advisory is being watched for a fixed version
- [ ] Lock files, container images and CI configuration are updated
- [ ] Run pip show open-webui or npm list open-webui to confirm the version is higher than 0.3.21, and verify that requests to the three endpoints are rejected with an authentication error or rate limit when sent without proper authorization.
- [ ] 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 can be made unavailable by uploading a malformed file High · GHSA-6wj5-5pgr-jwq8
- 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 Denial of Service (DoS) vulnerability exists in open-webui/open-webui version 0.3.21. This vulnerability affects multiple endpoints, including `/ollama/models/upload`, `/audio/api/v1/transcriptions`, and `/rag/api/v1/doc`. The application processes multipart boundaries without authentication, leading to resource exhaustion. By appending additional characters to the multipart boundary, an attacker can cause the server to parse each byte of the boundary, ultimately leading to service unavailability. This vulnerability can be exploited remotely, resulting in high CPU and memory usage, and rendering the service inaccessible to legitimate users.
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-5ccf-884p-4jjqFor 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.