Discourse Unauthorized Channel Membership Inference Vulnerability

Vulnerability

A vulnerability allowing unauthorized inference of channel membership has been identified in Discourse versions 2026.1.0-latest prior to 2026.1.3, 2026.2.0-latest prior to 2026.2.2, and 2026.3.0-latest prior to 2026.3.0. This issue arises from the chat user search feature, which can be exploited to deduce channel memberships without proper authorization.

Impact

Exploitation of this vulnerability could lead to unauthorized users inferring channel memberships, potentially allowing them to access private discussions or direct messages.

Reproduction

The vulnerability can be reproduced by sending a chat user search request that includes the 'excluded_memberships_channel_id' parameter. If the specified channel is private and the user does not have access to it, the response will still include information about users in that channel, thereby allowing inference of channel membership.

Remediation

Users can update to Discourse versions 2026.1.3, 2026.2.2, or 2026.3.0 to address this vulnerability. As a temporary measure, chat can be disabled entirely or restricted to trusted groups.

Added: Mar 31, 2026, 6:43 PM
Updated: Mar 31, 2026, 6:43 PM

Vulnerability Rating

Custom Algorithm
spread
2.4
impact
0.6
exploitability
5.7
remediation
8.3
relevance
5.0
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.