Advisory

PYSEC-2026-1737

Also known as: CVE-2024-7043, GHSA-jrhc-9qg9-4qfq

Summary

Open WebUI Allows Arbitrary File Reading and Deletion

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.

Severity

High Basis: CVSS v3 score 8.1, vector CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Dates

Published
2026-07-07 14:34 UTC
Modified
2026-07-23 09:45 UTC

Affected packages and fixes

open-webui

PyPI · All systems

Affected

  • introduced 0, fixed 0.3.16 (ecosystem)

Fixed versions

0.3.16

Fix

  • Fixed version 0.3.16
    pip install --upgrade open-webui==0.3.16

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences