Auth bypass in Discourse
CVE-2026-28282
Discourse is an open-source discussion platform. Versions prior to 2026.3.0-latest.1, 2026.2.1, and 2026.1.2 have a security flaw in the discourse-policy plugin which allowed a user with policy creation permission to gain membership access to any private/restricted groups. Once membership to a private/restricted group has been obtained, the user will be able to read private topics that only the group has access to. Versions 2026.3.0-latest.1, 2026.2.1, and 2026.1.2 contain a patch. As a workaround, review all policies for the use of `add-users-to-group` and temporarily remove the attribute from the policy. Alternatively, disable the discourse-policy plugin by disabling the `policy_enabled` site setting.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.004, 31.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Discourse — versions = 2026.3.0-latest, >= 2026.2.0-latest, < 2026.2.1, >= 2026.1.0-latest, < 2026.1.2
Weakness classification (CWE)
References
- https://github.com/discourse/discourse/security/advisories/GHSA-6cc8-x3rm-j5pf (Vendor Advisory)
- https://github.com/discourse/discourse/commit/64e2514ac17046cfaa8bc68a3c5140bc40736add (Patch)
- https://github.com/discourse/discourse/commit/c14b8a4cc5fc94e4839a83c5d55765897589f45b (Patch)
- https://github.com/discourse/discourse/commit/dcde9de530f515e88f99957056ffbcc2e1e03951 (Patch)