CWE
281
Advisory Published
Updated

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

First published: Mon Jun 27 2022(Updated: )

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.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Discourse<=2.8.4
Discourse=2.9.0-beta1
Discourse=2.9.0-beta2
Discourse=2.9.0-beta3
Discourse=2.9.0-beta4
Discourse=2.9.0-beta5

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2022-31096?

    CVE-2022-31096 has a moderate severity rating due to improper handling of invite link restrictions.

  • How do I fix CVE-2022-31096?

    To fix CVE-2022-31096, update Discourse to a version beyond 2.8.4 or a stable release after 2.9.0-beta5.

  • Who is affected by CVE-2022-31096?

    CVE-2022-31096 affects logged-in users of Discourse who may redeem invites without proper email verification.

  • What are the potential consequences of CVE-2022-31096?

    The consequence of CVE-2022-31096 is that users could bypass email domain restrictions, leading to unauthorized access.

  • Is there a workaround for CVE-2022-31096?

    There are no specific workarounds for CVE-2022-31096 other than applying the recommended updates.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203