Skip to content
OpenAdvisories
High · 8.0 CVE-2026-45671 EUVD-2026-30606GHSA-26g9-27vm-x3q8PYSEC-2026-2692

Open WebUI: shared-chat branch ignores access_type, allowing unauthorized file deletion

Published May 15, 2026 · Updated May 19, 2026 · Assigned by GitHub_M

Description

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.0, any authenticated user can permanently delete files owned by other users via DELETE /api/v1/files/{id} when the target file is referenced in any shared chat. The has_access_to_file() authorization gate unconditionally grants access through its shared-chat branch. It checks neither the requesting user's identity nor the type of operation being performed. File UUIDs (which would otherwise be impractical to guess) are disclosed to any user with read access to a knowledge base via GET /api/v1/knowledge/{id}/files. This vulnerability is fixed in 0.9.0.

Affected products

VendorProductAffectedFixed
open-webui open-webui < 0.9.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI open-webui < 0.9.0 0.9.0 GHSA-26g9-27vm-x3q8

References