CVE-2026-45345: Open WebUI missing authorization check at the model update function - models from other users can be updated
Open WebUI 0.5.6 and earlier does not check ownership when a model is updated. Any logged-in user can send a request to `/api/v1/models/model/update` and change another user's model, even one set to Private, including its access control settings. Fixed in 0.5.7.
Published May 14, 2026 · Updated May 19, 2026 · Analysis Nov 11, 2026
What an attacker can do
The update endpoint takes a model id and a full model body. It does not verify that the caller owns the model or has write access. In the reported proof of concept, a user named Attacker posted to POST /api/v1/models/model/update?id=aaabraaa with a body that changed the base model, the toolIds and the access_control block of a model that Victim had marked Private. The request succeeded.
The attacker needs only a low-privilege account and no user interaction. The CVSS vector rates impact as integrity only. In practice it matters because a model in Open WebUI carries a system prompt, parameters, attached tools and a base model. An attacker who rewrites a colleague's model can swap its base model, attach a tool they control, change the visibility, or give themselves read access. People who use that model later get answers shaped by the attacker, and attached tools run on their requests. The finding came from a penetration test, tested on 0.5.4.
Who is affected
Open WebUI (open-webui on PyPI) 0.5.6 and earlier. It was tested on 0.5.4. Any instance with more than one user is exposed, since any authenticated account can call the endpoint. Check:
pip show open-webuiopen-webui
- Ecosystem
- PyPI
- Affected
- <= 0.5.6
- Fixed in
- 0.5.7
- Check
pip show open-webui
How to fix it
Upgrade to Open WebUI 0.5.7 or later:
pip install --upgrade open-webuiThe advisory names no workaround and does not describe the code change. After upgrading, review custom models for unexpected changes to base model, tools and access control, since edits made before the fix remain in place.
How to tell if you were hit
Look in reverse proxy or application logs for POST /api/v1/models/model/update calls where the authenticated user differs from the model's user_id. Compare each model's updated_at, toolIds and access_control fields against what its owner expects, and check for private models that became readable by other users or groups.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
A user can modify another user's model even if its visibility is set to Private. The finding resulted from a penetration test for a customer. It is suspected that the root cause of the issue lies within the core of Open WebUI, which is why it is being reported as a security issue here. Tested on Open WebUI 0.5.4.
Details / PoC
The user Victim created a private model with the visibility set to private: grafik
The user Attacker can edit this model using the following POST request:
POST /api/v1/models/model/update?id=aaabraaa HTTP/2
Host: domain.local
//Some headers removed
Te: trailers
{"id":"aaabraaa","base_model_id":"gpt-4o-POC","name":"testmodel","meta":{"profile_image_url":"/static/favicon.png","description":"","capabilities":{"vision":true,"usage":false,"citations":true},"suggestion_prompts":null,"tags":[],"toolIds":["test"]},"params":{},"user_id":"565c82e6-083f-42bb-bf0f-a4e214cfb9ad","access_control":{"read":{"group_ids":[],"user_ids":[]},"write":{"group_ids":[],"user_ids":[]}},"is_active":true,"updated_at":1737314575,"created_at":1737121281}Request / Response grafik
Impact
A user can modify another user's model even if its visibility is set to Private. By changing the access permissions during editing, unauthorized access can be gained.
Credited to simioni87, Classic298.
Questions
- Can a Private model be edited by another user?
On 0.5.6 and earlier, yes. The proof of concept edited a model set to Private through the update endpoint.
- Which version fixes CVE-2026-45345?
Open WebUI 0.5.7 fixes it. Versions 0.5.6 and earlier are affected, and no workaround is listed.
- Does it need admin rights?
No. The CVSS vector requires only low privileges, meaning any logged-in account.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More Open WebUI vulnerabilities
All Open WebUI entriesCVE-2026-87011
Open WebUI: Unauthenticated requests can stall the server via uncached OIDC fetches in back-channel logout
high7.5Sep 10, 2026CVE-2026-87012
Open WebUI: Any authenticated user can suppress calendar alerts instance-wide via a non-numeric alert value
medium4.3Sep 10, 2026CVE-2026-87013
Open WebUI: Any authenticated user can start a non-terminating request via a folder parent cycle
medium4.3Sep 10, 2026CVE-2026-87014
Open WebUI: Admin demoted through SSO role sync keeps read and write access to all users' notes
medium6.5Sep 10, 2026CVE-2026-87015
Open WebUI: A user's session cookies are sent to tool servers configured for bearer authentication
medium6.8Sep 10, 2026CVE-2026-87016
Open WebUI: Sign-in as another user via wildcard characters in the OAuth subject claim on SQLite
high8.1Sep 10, 2026
