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

CVE-2026-44558: Open WebUI's Channel Access Grants Bypass filter_allowed_access_grants

mediumCVSS 3.1 5.4GHSA-7rjh-px4v-5w55

Open WebUI up to 0.8.12 does not filter access grants when users create or update channels. A regular user can store a wildcard grant that makes a channel readable by every user, even when the admin has forbidden public sharing of channels. Every other resource type applies the filter. Fixed in 0.9.0.

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

What an attacker can do

The routers for knowledge, models, notes, prompts, tools and skills all call filter_allowed_access_grants() before saving grants. That function removes principal_id "*" wildcard grants from users who lack the sharing.public_* permission, and removes individual user grants from users who lack access_grants.allow_users. The channel router skips it. create_new_channel and update_channel_by_id in backend/open_webui/routers/channels.py pass access_grants straight to set_access_grants in models/channels.py.

A regular user who can create group channels, or who owns a channel, can POST to /api/v1/channels/ or to the channel update route with an access_control body that holds a grant for principal_id "*" with read permission. It is stored as sent, and the channel becomes readable to everyone on the instance. The same route lets the user grant access to named individuals even when the admin allows only group-based sharing.

The effect is that the admin's permission policy for channels does nothing, while it works for every other resource, so the instance looks locked down but is not. The exposure is limited to the channel's own content: a user can publish channels they own. It matters when the admin set restrictive sharing permissions in the first place; with no such policy there is nothing to bypass. The attacker needs only a normal account.

Who is affected

Affected: open-webui <= 0.8.12 (pip). The report was made against main at commit 6fdd19bf1 and says likely all versions that support user-created group channels with access grants. Your instance is only affected in practice if you restrict channel sharing, for example by withholding sharing.public_channels or access_grants.allow_users from regular users.

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 lists no workaround. The root cause is the missing filter_allowed_access_grants() call in the channel create and update paths. Until you upgrade, review existing channels for wildcard or unexpected grants and remove them, and remove the ability to create group channels from users who do not need it.

How to tell if you were hit

Look at channel records for access grants with principal_id "*" or with individual user grants that were set by non-admin users. Check requests to POST /api/v1/channels/ and the channel update route whose access_control.access_grants contain a wildcard.

Compare the list of public channels with the users allowed to share publicly. Any channel readable by all users that was created by a user without sharing.public_channels is an instance of this bypass.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Channel Access Grants Bypass filter_allowed_access_grants

Affected Component

Channel creation and update endpoints:

  • backend/open_webui/routers/channels.py (lines 291-340, create_new_channel)
  • backend/open_webui/routers/channels.py (lines 617-638, update_channel_by_id)
  • backend/open_webui/models/channels.py (lines 825-826, set_access_grants call without filtering)

Affected Versions

Current main branch (commit 6fdd19bf1) and likely all versions supporting user-created group channels with access grants.

Description

All resource routers in Open WebUI (knowledge, models, notes, prompts, tools, skills) call filter_allowed_access_grants() before persisting access grants. This function strips principal_id: "*" wildcard grants from users who lack the relevant sharing.public_* permission, and strips individual user grants from users who lack access_grants.allow_users permission.

The channel router does not call filter_allowed_access_grants on either create or update paths. A non-admin user who can create group channels (or who owns a channel) can submit arbitrary access grants — including public wildcard grants — and those grants are stored verbatim, bypassing the admin's permission framework.

# channels.py — access_grants from form data flow directly into persistence
# No call to filter_allowed_access_grants() anywhere in these paths.

# Compare with knowledge.py / models.py / notes.py / prompts.py / tools.py / skills.py,
# all of which do:
#     form_data.access_grants = filter_allowed_access_grants(user, form_data.access_grants)
# before creating or updating.

Attack Scenario

  1. Admin configures permissions so that regular users do NOT have sharing.public_channels — public sharing of channels is intended to be admin-only.
  2. Attacker (a regular user) creates or owns a group channel.
  3. Attacker sends: `` POST /api/v1/channels/ { "name": "public-channel", "type": "group", "access_control": { "access_grants": [ {"principal_type": "user", "principal_id": "*", "permission": "read"} ] } } ``
  4. set_access_grants is called directly without filter_allowed_access_grants — the wildcard grant is persisted.
  5. The channel becomes publicly readable to every user on the instance, despite the admin's policy prohibiting public channels for regular users.

The same attack works via POST /api/v1/channels/{id}/update for any channel the attacker owns.

Impact

  • Regular users can bypass the sharing.public_channels permission and make channels publicly accessible
  • Regular users can bypass access_grants.allow_users to grant individual-user access in environments where only group-based sharing is intended
  • Admin's permission framework for channels is silently ineffective
  • Creates an inconsistency with every other resource type in the codebase, making the security posture harder to reason about

Preconditions

  • Attacker must have an account with the ability to create group channels (default user capability), or ownership of an existing channel
  • Admin must have configured restrictive sharing permissions for regular users (otherwise there's no policy to bypass)

Credited to Classic298.

Questions

Is every Open WebUI instance exposed to data leaks by this?

Only where the admin restricts channel sharing. Without such a policy there is nothing to bypass. Where the policy exists, users can publish channels they own or create.

Does this give access to other users' private channels?

No. The advisory describes a user making their own channels public or shared, not reading channels owned by others.

Which other resources apply the filter?

Knowledge, models, notes, prompts, tools and skills all call filter_allowed_access_grants(). Channels were the exception.

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.0019).

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