Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Patch tests show injection succeeds on unauthenticated signup, so PR:N and AC:L; whisper read access drives C:H with minor I:L and no availability impact.
Primary rating from Vendor (github).
CVSS VectorNVD
Lifecycle Timeline
6DescriptionNVD
Discourse is an open-source discussion platform. Prior to 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5, the signup flow could allow newly registered users to set primary_group_id and gain whisper-group privileges without legitimate group membership on sites with whispers_allowed_groups configured. This issue is fixed in versions 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5.
AnalysisAI
Privilege escalation in Discourse (the open-source discussion platform) lets a newly registered user obtain whisper-group ('whisperer') privileges by supplying a primary_group_id during the signup flow, without ever being a legitimate member of that group. Exploitation only matters on sites that have configured whispers_allowed_groups, and success grants read access to staff-only whisper posts (a confidentiality-focused impact). EPSS is low (0.31%, 23rd percentile) and there is no public exploit identified at time of analysis, but the fix commits and GitHub advisory GHSA-vmwq-jvxx-jwfx confirm the flaw and its remediation.
Technical ContextAI
Discourse is a Ruby on Rails discussion/forum platform. This is a CWE-269 Improper Privilege Management issue spanning the account-creation path (UsersController#create) and the Roleable concern. Signup parameters were passed through with only :timezone stripped, letting an attacker inject :primary_group_id (and :flair_group_id). Separately, Roleable#whisperer? treated any user whose primary_group_id was contained in SiteSetting.whispers_allowed_groups_map as a whisperer, so pointing primary_group_id at an allowed group synthesized the privilege with no real membership. The CPE data (cpe:2.3:a:discourse:discourse) confirms the affected product is the Discourse application itself, with the fix landing in tagged release 2026.6.0.
RemediationAI
Vendor-released patch: upgrade to Discourse 2026.6.0, 2026.5.1, 2026.4.2, or 2026.1.5 (whichever matches your release branch), available at https://github.com/discourse/discourse/releases (tags v2026.6.0, v2026.5.1, v2026.4.2, v2026.1.5). The fix strips primary_group_id and flair_group_id from non-admin/non-API signup parameters and stops treating primary_group_id alone as a source of whisper privileges. As an interim compensating control where you cannot patch immediately, temporarily clear or unset the whispers_allowed_groups site setting to neutralize the impact (trade-off: this disables group-based whisper access for legitimate staff), and audit recently created accounts for unexpected primary_group_id/flair_group_id values pointing at whisper-allowed groups, resetting any that lack genuine membership. Details are in advisory GHSA-vmwq-jvxx-jwfx and commit 012796ac28c85b30aa233c5ef042fc66efff8126.
Discourse versions prior to 3.5.0.beta6 contain a reflected cross-site scripting (XSS) vulnerability in social login fun
Discourse is an open source platform for community discussion. Rated high severity (CVSS 8.2), this vulnerability is rem
In Discourse 2.7.0 through beta1, a rate-limit bypass leads to a bypass of the 2FA requirement for certain forms. Rated
Discourse is an open-source discussion platform. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploi
Discourse is an open source platform for community discussion. Rated medium severity (CVSS 5.9), this vulnerability is r
Discourse versions prior to 3.4.4 (stable), 3.5.0.beta5 (beta), and 3.5.0.beta6-dev (tests-passed) contain a critical vu
Discourse is an open source platform for community discussion. Rated critical severity (CVSS 9.8), this vulnerability is
Discourse is an open source platform for community discussion. Rated critical severity (CVSS 9.8), this vulnerability is
Discourse is an open source platform for community discussion. Rated critical severity (CVSS 9.1), this vulnerability is
Stored cross-site scripting in the Discourse discussion platform allows a low-privileged registered user to set a malici
Discourse is a platform for community discussion. Rated high severity (CVSS 8.8), this vulnerability is remotely exploit
Unauthorized information disclosure in Discourse discussion platform versions prior to 2026.3.0-latest.1, 2026.2.1, and
Same weakness CWE-269 – Improper Privilege Management
View allSame technique Privilege Escalation
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-42735