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

CVE-2026-44561: Open WebUI: Deactivated Channel Members Retain Full Access to Group/DM Channels

mediumCVSS 3.1 5.4GHSA-hmgr-67hw-j2cq

Open WebUI up to 0.8.12 lets people who were removed from, or left, a group or DM channel keep full API access to it. The membership check ignores the is_active flag, so a former member can still read new messages and post, edit and delete messages. The channel only disappears from their UI. Fixed in 0.9.0.

Published May 8, 2026 · Updated May 15, 2026 · Analysis Oct 28, 2026

What an attacker can do

is_user_channel_member in backend/open_webui/models/channels.py returns true whenever a ChannelMember row exists. When a user is removed from a group or DM channel, or leaves, the row stays with is_active=False and status='left'. The channel list query filters on is_active, so the channel vanishes from that user's UI. But the 15 message-level endpoints in routers/channels.py all authorize with is_user_channel_member, which does not look at is_active. A sibling method, get_channel_by_id_and_user_id, does check it correctly.

The attacker is a former member with a valid account who noted the channel ID while still a member. They call the API directly: GET /api/v1/channels/{channel_id}/messages reads everything, including messages posted after removal. The post, update and delete message endpoints work too, so they can add, edit and remove messages.

That breaks confidentiality of the channel after removal and the integrity of its history. Channel owners think removal ended access, which is the main risk, for example after an employee leaves a project or a contractor is removed. The Channels feature is disabled by default, so only instances that enabled it are affected.

Who is affected

Affected: open-webui <= 0.8.12 (pip). The report was made against main at commit 6fdd19bf1 and says likely all versions with group and DM channels. It matters only if the Channels feature is on and members get removed or leave.

Check the version:

pip show open-webui

For Docker, check the image tag.

open-webui

Ecosystem
PyPI
Affected
<= 0.8.12
Fixed in
0.9.0
Check
pip show open-webui

How to fix it

Upgrade to open-webui 0.9.0 or later:

pip install --upgrade open-webui

The advisory recommends the fix of adding ChannelMember.is_active.is_(True) to the query in is_user_channel_member, so it matches get_channel_by_id_and_user_id. It lists no workaround. Until you upgrade, for channels with sensitive content, recreate the channel without the removed member instead of only removing them, or disable the Channels feature.

How to tell if you were hit

Look in access logs for message requests (GET /api/v1/channels/{id}/messages, and the post, update and delete routes) from users whose membership row for that channel has is_active=False. Join the ChannelMember table with request logs by user and channel.

Check channels for messages posted, edited or deleted by someone who has left, and ask owners of sensitive channels whether the history looks right.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Deactivated Channel Members Retain Full Access to Group/DM Channels

Affected Component

Channel membership authorization check:

  • backend/open_webui/models/channels.py (lines 663-673, is_user_channel_member)
  • Used at 15 locations in backend/open_webui/routers/channels.py

Affected Versions

Current main branch (commit 6fdd19bf1) and likely all versions with the group/DM channel feature.

Description

The is_user_channel_member function checks whether a ChannelMember row exists but does not check the is_active field. When a user is deactivated from a group or DM channel (removed by the channel owner, or leaves voluntarily), their membership row persists with is_active=False and status='left'. Because the authorization check ignores this field, the deactivated user retains full read and write access to the channel via direct API calls.

The channel correctly disappears from the deactivated user's channel list (the listing query at get_channels_by_user_id properly filters on is_active), but all 15 message-level endpoints in the router rely on is_user_channel_member for authorization, which does not filter on is_active.

# models/channels.py:663 — missing is_active check
def is_user_channel_member(self, channel_id, user_id, db=None):
    membership = db.query(ChannelMember).filter(
        ChannelMember.channel_id == channel_id,
        ChannelMember.user_id == user_id,
    ).first()
    return membership is not None  # True even when is_active=False

Compare with get_channel_by_id_and_user_id (line 778) which correctly checks ChannelMember.is_active.is_(True).

CVSS 3.1 Breakdown

| Metric | Value | Rationale |
| Attack Vector | Network (N) | Exploited remotely via API calls |
| Attack Complexity | Low (L) | No special conditions beyond knowing the channel ID (which the user had as a former member) |
| Privileges Required | Low (L) | Requires a valid user account and prior channel membership |
| User Interaction | None (N) | No victim interaction required |
| Scope | Unchanged (U) | Impact is within the same authorization boundary (the channel) |
| Confidentiality | Low (L) | Can read messages in a channel the user should no longer access |
| Integrity | Low (L) | Can post, edit, and delete messages in the channel |
| Availability | None (N) | No denial of service |

Attack Scenario

  1. User A and User B are members of a private group channel.
  2. The channel owner removes User B (or User B leaves). User B's membership is set to is_active=False, status='left'.
  3. The channel disappears from User B's UI — but User B noted the channel ID while they were a member.
  4. User B calls the API directly:
  5. GET /api/v1/channels/{channel_id}/messages — reads all messages, including those posted after deactivation
  6. POST /api/v1/channels/{channel_id}/messages/post — posts new messages
  7. POST /api/v1/channels/{channel_id}/messages/{id}/update — edits messages
  8. DELETE /api/v1/channels/{channel_id}/messages/{id}/delete — deletes messages
  9. All requests succeed because is_user_channel_member returns True.

Impact

  • Deactivated users can continue reading all new messages posted after their removal (confidentiality breach)
  • Deactivated users can post, edit, and delete messages (integrity breach)
  • The deactivation mechanism provides a false sense of security — channel owners believe removed users have lost access

Preconditions

  • Channels feature must be enabled (disabled by default)
  • Attacker must have a valid user account
  • Attacker must have been a member of the channel at some point (and thus knows the channel ID)

Recommended Fix

Add is_active filtering to is_user_channel_member:

def is_user_channel_member(self, channel_id, user_id, db=None):
    membership = db.query(ChannelMember).filter(
        ChannelMember.channel_id == channel_id,
        ChannelMember.user_id == user_id,
        ChannelMember.is_active.is_(True),
    ).first()
    return membership is not None

This aligns it with the existing get_channel_by_id_and_user_id method which already applies this filter correctly.

Credited to Classic298.

Questions

Does the removed user still see the channel in the UI?

No. The channel list filters on is_active. The access remains through direct API calls that use the channel ID the user already knows.

What can a removed member do?

Read all messages, including new ones, and post, edit and delete messages, per the advisory.

Is the Channels feature on by default?

No. The advisory says Channels is disabled by default and must be enabled for the issue to apply.

Is it exploited in the wild?

No source reports exploitation. It is not in CISA's KEV catalog, and its EPSS score is low (0.0018).

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