8.9
CWE
285
Advisory Published
Updated

CVE-2022-39356: Discourse user account takeover via email and invite link

First published: Wed Nov 02 2022(Updated: )

Discourse is a platform for community discussion. Users who receive an invitation link that is not scoped to a single email address can enter any non-admin user's email and gain access to their account when accepting the invitation. All users should upgrade to the latest version. A workaround is temporarily disabling invitations with `SiteSetting.max_invites_per_day = 0` or scope them to individual email addresses.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Discourse<2.8.10
Discourse=2.9.0-beta1
Discourse=2.9.0-beta10
Discourse=2.9.0-beta2
Discourse=2.9.0-beta3
Discourse=2.9.0-beta4
Discourse=2.9.0-beta5
Discourse=2.9.0-beta6
Discourse=2.9.0-beta7
Discourse=2.9.0-beta8
Discourse=2.9.0-beta9

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-39356?

    CVE-2022-39356 is considered a high-severity vulnerability due to its potential for unauthorized account access.

  • How do I fix CVE-2022-39356?

    To address CVE-2022-39356, users should upgrade to the latest version of Discourse.

  • Who is affected by CVE-2022-39356?

    CVE-2022-39356 affects all users of Discourse versions prior to 2.8.10 and beta versions of 2.9.0.

  • What does CVE-2022-39356 allow an attacker to do?

    CVE-2022-39356 allows an attacker to access the account of any non-admin user by exploiting invitation links not scoped to an email address.

  • Are there any workarounds for CVE-2022-39356?

    There are no specific workarounds for CVE-2022-39356; upgrading to a secure version is the recommended action.

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