CASEBOOK

Browse / AI Framework and Platform Flaws / CVE-2024-7043

Open WebUI Allows Arbitrary File Reading and Deletion

CVE-2024-7043 ยท 2025-03-20 high

Class
AI Framework and Platform Flaws (filed by a model that read the source)
Technique
Authentication and access control
Affected
open-webui (PyPI)
CVSS
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
EPSS
0.6% chance of exploitation in 30 days

How it works, in short

Any logged-in user can list, read and delete other users' uploaded files because the file endpoints never check for administrator rights. (Our summary, written by a model. The source text is below.)

Details

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.

References

Source: GitHub Advisory Database, used under CC BY 4.0.