CVE-2026-54012: Open WebUI: Forged model meta.knowledge allows cross-user file read and deletion
Open WebUI lets a user who can create, update, or import workspace models store arbitrary meta.knowledge entries on their model without checking whether they own or can read the referenced files. Open WebUI then treats meta.knowledge entries of type file as an authorization source in two places: the built-in view_file tool reads the file’s extracted text, and has_access_to_file()’s model branch authorizes the file content and file delete endpoints. A malicious model owner can therefore attach another user’s file ID to their model metadata and read or delete that private file.
References
Code Behaviors & Features
Detect and mitigate CVE-2026-54012 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →