Unauthorized group membership via signup user fields in Discourse
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · GHSA-jv6w-2gm8-vfpw. Fix status from GitHub.
Summary
Discourse is affected before 2026.7.7, before 2026.9.4 and before 2026.10.3, with one fix per release line. The bundled Automation plugin's "Add user to group through User Custom Field" script adds a user to the group named by a user field value, but email-code and invite signup did not check dropdown and multiselect values against the field's options. Any person who can create an account can be added to a group the field did not offer, gaining access to its restricted categories, topics and messages. The standard signup form is not affected.
Written with Claude Haiku 5.5 from the sources below · 2026-11-24
Description from the GitHub advisory
### Impact In the bundled Automation plugin, the "Add user to group through User Custom Field" script adds a user to the group whose full name matches the value of a user field. Email-code signup and invite signup did not check dropdown and multiselect user field values against the field's configured options. As a result, a person signing up could be added to a group the field did not offer, and gain access to categories, topics and messages restricted to that group. Any person who can create an account could do this. On sites where email-code sign-in is not enabled, they need an invite link. Signing up through the standard signup form was not affected. Only sites that enabled the Automation plugin and configured this script on a user field shown at signup are affected, including sites where that field is a dropdown. The script does not add users to automatic groups such as admins, moderators or staff. ### Workarounds - Disable the automation, or - Turn off "Show on signup" for the user field that the automation uses. To find affected accounts, check the logs of groups that have a full name for members added by the system user, and compare each member's field value with the field's options. <!-- patch-triage-lifecycle:441c7cf98f448b3da81e79c315b689810949c844827eef0d487d195d7c4540f4 -->
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | Discourse | — | 2026.11.0 | Patch available | GHSA-jv6w-2gm8-vfpw |
| — | Discourse | >= 2026.10.0-latest | 2026.10.3 | Patch available | GHSA-jv6w-2gm8-vfpw |
| — | Discourse | >= 2026.9.0-latest | 2026.9.4 | Patch available | GHSA-jv6w-2gm8-vfpw |
| — | Discourse | >= 2026.7.0-latest | 2026.7.7 | Patch available | GHSA-jv6w-2gm8-vfpw |
- Discourse Vendor— Affected — Fixed in 2026.11.0 Patch available GHSA-jv6w-2gm8-vfpw
- Discourse Vendor— Affected >= 2026.10.0-latest Fixed in 2026.10.3 Patch available GHSA-jv6w-2gm8-vfpw
- Discourse Vendor— Affected >= 2026.9.0-latest Fixed in 2026.9.4 Patch available GHSA-jv6w-2gm8-vfpw
- Discourse Vendor— Affected >= 2026.7.0-latest Fixed in 2026.7.7 Patch available GHSA-jv6w-2gm8-vfpw
Remediation
Upgrade Discourse to 2026.7.7, 2026.9.4, 2026.10.3 or 2026.11.0, depending on the release line in use. Until the upgrade, disable the automation or turn off "Show on signup" for the user field that the automation uses.
Written with Claude Haiku 5.5 from the sources below · 2026-11-24
- Fix · GHSA-jv6w-2gm8-vfpw Discourse Fixed in 2026.11.0 Advisory →
- Fix · GHSA-jv6w-2gm8-vfpw Discourse Fixed in 2026.10.3 Advisory →
- Fix · GHSA-jv6w-2gm8-vfpw Discourse Fixed in 2026.9.4 Advisory →
- Fix · GHSA-jv6w-2gm8-vfpw Discourse Fixed in 2026.7.7 Advisory →
Timeline
- 2026-11-24 Threatist record created from GHSA-jv6w-2gm8-vfpw
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences