Open WebUI Allows Arbitrary File Reading and Deletion
GHSA-jrhc-9qg9-4qfq · CVE-2024-7043 · PYSEC-2026-1737
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
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
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2024-7043
- WEB https://github.com/open-webui/open-webui/commit/4519ddd0e97b33114d5ad0d012ed4523937f55c7
- ADVISORY https://github.com/advisories/GHSA-jrhc-9qg9-4qfq
- PACKAGE https://github.com/open-webui/open-webui
- WEB https://github.com/open-webui/open-webui/releases/tag/v0.3.16
- WEB https://github.com/pypa/advisory-database/tree/main/vulns/open-webui/PYSEC-2026-1737.yaml
- WEB https://huntr.com/bounties/c01e0c7f-68d8-45cf-91d2-521c97f33b00
- WEB https://pypi.org/project/open-webui
Ready to move
Start Securing
Free, no credit card | First findings in minutes