CVE-2024-7043: Open WebUI Allows Arbitrary File Reading and Deletion
Open WebUI 0.3.8 and earlier does not check for administrator rights on its files API. Any logged-in user can list every uploaded file, read any file's details and delete any file by ID. The advisory lists no patched version.
Published Mar 20, 2025 · Updated Nov 19, 2026 · Analysis Nov 10, 2026
What an attacker can do
The files endpoints skip the admin check. A user-level account can call GET /api/v1/files/ to list all files uploaded by all users, including their ID values. With an ID, GET /api/v1/files/{file_id} returns details of any file, and DELETE /api/v1/files/{file_id} deletes it.
The attacker needs only a normal account (CVSS 3.0 of 8.1, low privileges, no user interaction). On a shared instance this exposes other people's uploaded documents, which often feed retrieval-augmented chats and hold internal data. It also lets one user destroy another's files, which breaks their knowledge bases and chats. The weakness is missing authorization (CWE-862). The advisory does not describe code execution.
Who is affected
The pip package open-webui, version 0.3.8 and earlier, on instances with more than one user. Check:
pip show open-webuiFor Docker, check the image tag. Single-user instances face little risk because the attacker needs an account.
open-webui
- Ecosystem
- PyPI
- Affected
- < 0.3.16
- Fixed in
- 0.3.16
- Check
pip show open-webui
How to fix it
The advisory lists no patched version, and the affected range is 0.3.8 and earlier. Move to a newer Open WebUI release and check its release notes for the files API fix. Until then, restrict who can register or log in, put the instance behind SSO or a VPN, and block /api/v1/files/ for non-admin users at your reverse proxy where you can.
How to tell if you were hit
Check access logs for GET /api/v1/files/ from non-admin accounts, runs of GET /api/v1/files/{file_id} across many IDs, and DELETE /api/v1/files/{file_id} calls. Users who report missing uploads are another sign.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
An improper access control vulnerability in open-webui/open-webui v0.3.8 allows attackers to view and delete any files. The application does not verify whether the attacker is an administrator, allowing the attacker to directly call the GET /api/v1/files/ interface to retrieve information on all files uploaded by users, which includes the ID values. The attacker can then use the GET /api/v1/files/{file_id} interface to obtain information on any file and the DELETE /api/v1/files/{file_id} interface to delete any file.
Credited to Classic298.
Questions
- Is there a fixed version for CVE-2024-7043?
The advisory lists none. It marks 0.3.8 and earlier as affected, so move to a newer release and read its notes.
- Does the attacker need to be an admin?
No. A normal user-level account is enough, because the endpoints do not check for administrator rights.
- Which endpoints are involved?
GET /api/v1/files/, GET /api/v1/files/{file_id} and DELETE /api/v1/files/{file_id}.
- Can it lead to code execution?
The advisory describes reading and deleting files only, with high confidentiality and integrity impact and none on availability.
References
Read for this analysis:
- https://nvd.nist.gov/vuln/detail/CVE-2024-7043
- https://huntr.com/bounties/c01e0c7f-68d8-45cf-91d2-521c97f33b00
- https://github.com/open-webui/open-webui/commit/4519ddd0e97b33114d5ad0d012ed4523937f55c7
- https://github.com/open-webui/open-webui
- https://github.com/open-webui/open-webui/releases/tag/v0.3.16
- https://github.com/pypa/advisory-database/tree/main/vulns/open-webui/PYSEC-2026-1737.yaml
- https://pypi.org/project/open-webui
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More Open WebUI vulnerabilities
All Open WebUI entriesCVE-2026-87011
Open WebUI: Unauthenticated requests can stall the server via uncached OIDC fetches in back-channel logout
high7.5Sep 10, 2026CVE-2026-87012
Open WebUI: Any authenticated user can suppress calendar alerts instance-wide via a non-numeric alert value
medium4.3Sep 10, 2026CVE-2026-87013
Open WebUI: Any authenticated user can start a non-terminating request via a folder parent cycle
medium4.3Sep 10, 2026CVE-2026-87014
Open WebUI: Admin demoted through SSO role sync keeps read and write access to all users' notes
medium6.5Sep 10, 2026CVE-2026-87015
Open WebUI: A user's session cookies are sent to tool servers configured for bearer authentication
medium6.8Sep 10, 2026CVE-2026-87016
Open WebUI: Sign-in as another user via wildcard characters in the OAuth subject claim on SQLite
high8.1Sep 10, 2026
