Improper access control in Discourse - CVE-2026-27152

 

Improper access control in Discourse - CVE-2026-27152

Published: July 1, 2026


Vulnerability identifier: #VU136118
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-27152
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Civilized Discourse Construction Kit, Inc.
Affected software:
Discourse

Detailed vulnerability description

The vulnerability allows a remote user to bypass communication preferences and add users to an existing direct message channel.

The vulnerability exists due to improper access control in Chat::AddUsersToChannel when adding members to an existing direct message channel. A remote user can add targets who have blocked, ignored, or muted them to bypass per-recipient private message restrictions.

The issue affects restrictions that are enforced during direct message channel creation but not when members are added later.


How to mitigate CVE-2026-27152

Install security update from vendor's website.

Sources