What’s Vulnerable › Vulnerabilities
CVE-2022-31096: Invites restricted to an email or invite links restricted to an email domain may be bypassed by a under certain conditions in Discourse
- Severity: medium (CVSS 5.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-06-27 · updated 2026-06-17
- Weakness: CWE-281
Description
Discourse is an open source discussion platform. Under certain conditions, a logged in user can redeem an invite with an email that either doesn't match the invite's email or does not adhere to the email domain restriction of an invite link. The impact of this flaw is aggravated when the invite has been configured to add the user that accepts the invite into restricted groups. Once a user has been incorrectly added to a restricted group, the user may then be able to view content which that are restricted to the respective group. Users are advised to upgrade to the current stable releases. There are no known workarounds to this issue.
Affected products
- discourse: through 2.8.4; 2.9.0-beta1, 2.9.0-beta2, 2.9.0-beta3, 2.9.0-beta4, 2.9.0-beta5
References
- https://github.com/discourse/discourse/security/advisories/GHSA-rvp8-459h-282r
- https://github.com/discourse/discourse/security/advisories/GHSA-rvp8-459h-282r
Get alerted when CVE-2022-31096 or the next vulnerability affects your stack