CVE-2026-54012 Open WebUI: Forged model meta.knowledge allows cross-user file read and deletion

High 7.1 Published Updated

Malicious users can read or delete other users' private files by forging model metadata in Open WebUI.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-54012?

CVE-2026-54012 is a high-severity missing authorization vulnerability in Openwebui Open Webui, published on 23 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.6, 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. This vulnerability is fixed in 0.9.6.

Weakness: CWE-862, CWE-285, CWE-284

Which versions are affected by CVE-2026-54012?

3 open source packages ship an affected version, including open-webui. It affects 1 product.

PackageAffectedFixed in
open-webui PyPIAll versions0.9.6
open-webui PyPIAll versions0.9.6
open-webui PyPIAll versions0.9.6

Products include Openwebui Open Webui.

How do I fix CVE-2026-54012?

Upgrade open-webui to 0.9.6 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-54012 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-54012 exists.

All Openwebui Open Webui vulnerabilities

Sources

Also known as GHSA-vjqm-6gcc-62cr, PYSEC-2026-2761.

Is CVE-2026-54012 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free