Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
5.7

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

CVE-2022-31096 · published 4 years ago
Summary

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 ...

What to do

The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.

Affected software
VendorProductAffected versions
discourse discourse <= 2.8.4
2.9.0
cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*
Original advisory text
Invites restricted to an email or invite links restricted to an email domain may be bypassed by a under certain conditions in Discourse
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.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker partial control
Severity
5.7 Medium
Exploitation
<1% chance of attack within 30 days
Type
CWE-281Improper Preservation of Permissions
Timeline
Published27 Jun 2022
Updated4 Nov 2026
First seen29 Sep 2026
Sources
Track software like this
Free during beta