CVE-2022-31025: Invite bypasses user approval in Discourse

Published Jun 3, 2022
·
Updated

Discourse is an open source platform for community discussion. Prior to version 2.8.4 on the stable branch and 2.9.0beta5 on the beta and tests-passed branches, inviting users on sites that use single sign-on could bypass the mustapproveusers check and invites by staff are always approved automatically. The issue is patched in Discourse version 2.8.4 on the stable branch and version 2.9.0.beta5 on the beta and tests-passed branches. As a workaround, disable invites or increase mintrustleveltoallowinvite to reduce the attack surface to more trusted users.

Affected Software

5 affected components
Discourse Discourse<2.8.4
Discourse Discourse=2.9.0-beta1
Discourse Discourse=2.9.0-beta2
Discourse Discourse=2.9.0-beta3
Discourse Discourse=2.9.0-beta4

Event History

Jun 3, 2022
CVE Published
via MITRE·02:35 PM
Data Sourced
via MITRE·02:35 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2022-31025?

CVE-2022-31025 has a medium severity rating due to its potential impact on user management.

2

How do I fix CVE-2022-31025?

To fix CVE-2022-31025, update Discourse to version 2.8.4 or later on the stable branch or 2.9.0-beta5 or later on the beta and tests-passed branches.

3

What versions of Discourse are affected by CVE-2022-31025?

CVE-2022-31025 affects Discourse versions prior to 2.8.4 on the stable branch and 2.9.0-beta5 on the beta branch.

4

What type of vulnerability is CVE-2022-31025?

CVE-2022-31025 is a vulnerability that allows user invites to bypass the must_approve_users check in Discourse.

5

Who is at risk due to CVE-2022-31025?

Sites using Discourse with single sign-on configurations are at risk due to CVE-2022-31025.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203