PT-2026-59363 · Pypi · Open-Webui

Publicado

2026-07-13

·

Atualizado

2026-07-13

CVSS v3.1

4.3

Média

VetorAV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Missing Access Check on Channel Members Endpoint for Standard Channels

Affected Component

Channel members listing endpoint:
  • backend/open webui/routers/channels.py (lines 445-507, get channel members by id)

Affected Versions

Current main branch and likely all versions with the channels feature.

Description

The GET /api/v1/channels/{id}/members endpoint only checks membership for group and dm channel types (lines 467-469). For standard channels — including private ones — there is no channel has access check before returning the member list. Any authenticated user who knows a private channel's UUID can enumerate all users with access to that channel.
python
# Line 467-469: only group/dm channels are checked
if channel.type in ['group', 'dm']:
  if not Channels.is user channel member(channel.id, user.id, db=db):
    raise HTTPException(...)
# Standard channels fall through with NO access check
Compare with other channel endpoints (e.g., get channel messages at line 688) which correctly call channel has access(user.id, channel, permission='read') for standard channels.

CVSS 3.1 Breakdown

MetricValueRationale
Attack VectorNetwork (N)Exploited remotely via API call
Attack ComplexityLow (L)Single API call, no special conditions
Privileges RequiredLow (L)Requires a valid user account
User InteractionNone (N)No victim interaction required
ScopeUnchanged (U)Impact is within the channel authorization boundary
ConfidentialityLow (L)Leaks user identities and details for a private channel
IntegrityNone (N)No data modification
AvailabilityNone (N)No denial of service

Attack Scenario

  1. Attacker obtains a private standard channel's UUID (via logs, browser history, URL observation, or other API responses).
  2. Attacker calls GET /api/v1/channels/{id}/members.
  3. The server returns the full list of permitted users including their IDs, names, emails, roles, and profile images.
  4. The attacker has no access to the channel's messages (those endpoints check access correctly), but now knows exactly who does.

Impact

  • Leaks the identity and personal details of every user with access to a private channel
  • Reveals organizational structure and project assignments
  • Enables targeted social engineering against channel members

Preconditions

  • Channels feature must be enabled (disabled by default)
  • Attacker must know the channel UUID (not guessable, but obtainable through indirect means)

Correção

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Identificadores relacionados

PYSEC-2026-2720

Produtos afetados

Open-Webui