NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · Open WebUI

CVE-2026-44571: Open WebUI's Improper Authorization in Standard Channels Allows Message Updates with Read Permission

mediumCVSS 3.1 6.5GHSA-jgj3-r8hr-9pjw

In Open WebUI 0.8.5 and earlier, a user with only read access to a standard channel can edit other users' messages through the update endpoint. Channels with access_control set to None pass the read check. Fixed in open-webui 0.8.6.

Published May 11, 2026 · Updated May 19, 2026 · Analysis Oct 27, 2026

What an attacker can do

The affected endpoint is POST /api/v1/channels/{channel_id}/messages/{message_id}/update, in update_message_by_id in backend/open_webui/routers/channels.py. It applies has_access(..., type="read"). In utils/access_control.py, a channel with access_control of None returns true for read access when strict mode is on, so everyone passes. The update logic in models/messages.py has no ownership check.

This applies to standard channels only, meaning those whose type is not group or dm. The attacker is any signed-in user (role user or higher) who can see the channel's message list and so learn a message_id. They then call the endpoint with new content and the author's message changes.

The impact is limited to integrity: users can rewrite what colleagues said in shared channels. The CVSS vector shows no confidentiality or availability impact. This is a different bug from the older channel IDOR fixed in 0.6.19, which affected edit and delete in channels with explicit read grants.

Who is affected

Affected: open-webui 0.8.5 and earlier, with standard channels where access_control is None or grants read access to the attacker. Check:

pip show open-webui

open-webui

Ecosystem
PyPI
Affected
<= 0.8.5
Fixed in
0.8.6
Check
pip show open-webui

How to fix it

Upgrade to open-webui 0.8.6 or later:

pip install --upgrade open-webui

The advisory proposes switching the update check for standard channels from read to write, keeping the existing message.user_id == user.id ownership check. It presents this as a proposal, so read the 0.8.6 release for the final code. It lists no workaround; setting explicit access control on channels is a reasonable stopgap, but the advisory does not say so.

How to tell if you were hit

Check web logs for POST /api/v1/channels/*/messages/*/update requests from accounts that did not author the message. Look at channel history for messages edited by someone other than the poster, and ask channel members about edited content they did not change.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Vulnerability Description

In standard channels (i.e., channels whose channel.type is neither group nor dm), the endpoint

POST /api/v1/channels/{channel_id}/messages/{message_id}/update can be accessed with read permission only.

When access_control is set to None, the authorization check has_access(..., type="read") evaluates to True, allowing users who are not the message owner to update messages.

As a result, unauthorized modification of other users’ messages is possible.

---

Attack Prerequisites

  • The attacker is an authenticated user (role user or higher)
  • The target channel is a standard channel (i.e., not group or dm)
  • access_control is None or allows read access
  • The attacker can obtain the target message_id (e.g., via the channel’s message list)

Attack Scenario

  1. The attacker (User B) retrieves another user’s message_id from the message list in a standard channel
  2. The attacker sends a request to

POST /api/v1/channels/{channel_id}/messages/{message_id}/update

  1. The message authored by another user (User A) is successfully updated

Potential Impact

  • Unauthorized modification of other users’ messages (violation of data integrity)

Steps to Reproduce

  1. Log in as an administrator
  1. Create User A
  1. Create User B
  1. Log in as User A
  1. Log in as User B
  1. As the administrator, create a new channel
  1. As User A, post a new message in the channel
  1. As User B, edit User A’s message
  1. Confirm that User A’s message has been modified without authorization

Affected Files and Line Numbers

  • backend/open_webui/routers/channels.py:1417–1460

The authorization check in update_message_by_id allows access with read permission

  • backend/open_webui/utils/access_control.py:124–135

When access_control=None and strict=True, read access is permitted

  • backend/open_webui/models/messages.py:341–358

The update logic does not enforce any message ownership check

Recommended Mitigation

Update the condition in

backend/open_webui/routers/channels.py:1451–1456

by changing the permission check from `read` to `write`, so that only administrators, message owners, or users with write permission can update messages.

Proposed Changes

  • For standard channels, change the update permission requirement from

has_access(..., type="read") to has_access(..., type="write")

  • Preserve the existing ownership check (message.user_id == user.id)

AI Usage

  • Translation from Japanese to English
  • CWE classification and assessment
  • Affected Files and Line Numbers

Credited to odgrso, Classic298.

Questions

Which channels are affected?

Standard channels, meaning channel.type is neither group nor dm, where access_control is None or allows read access.

Is this the same as CVE-2026-44569?

No. That entry covers update and delete in channels with explicit read access, fixed in 0.6.19. This one is a newer flaw in standard channels, fixed in 0.8.6.

Which version fixes it?

open-webui 0.8.6 or later. Version 0.8.5 and earlier are affected.

What can an attacker do?

Rewrite other users' channel messages. The advisory names only unauthorized modification and a data integrity violation, not data theft.

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 entries