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: 5.3 [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]
CVE-ID: CVE-2026-27152
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

Discourse

How to mitigate CVE-2026-27152

Install security update from vendor's website.

Discourse - addressed in versions 2025.12.2, 2026.1.1, 2026.2.0

External References

Related Security Bulletins