CVE-2022-21684: User can bypass approval when invited to Discourse

Published Jan 13, 2022
·
Updated

Discourse is an open source discussion platform. Versions prior to 2.7.13 in stable, 2.8.0.beta11 in beta, and 2.8.0.beta11 in tests-passed allow some users to log in to a community before they should be able to do so. A user invited via email to a forum with mustapproveusers enabled is going to be automatically logged in, bypassing the check that does not allow unapproved users to sign in. They will be able to do everything an approved user can do. If they logout, they cannot log back in. This issue is patched in the stable version 2.7.13, beta version 2.8.0.beta11, and tests-passed version 2.8.0.beta11. One may disable invites as a workaround. Administrators can increase mintrustleveltoallowinvite to reduce the attack surface to more trusted users.

Affected Software

11 affected components
Discourse Discourse<2.7.13
Discourse Discourse=2.8.0-beta1
Discourse Discourse=2.8.0-beta10
Discourse Discourse=2.8.0-beta2
Discourse Discourse=2.8.0-beta3
Discourse Discourse=2.8.0-beta4
Discourse Discourse=2.8.0-beta5
Discourse Discourse=2.8.0-beta6
Discourse Discourse=2.8.0-beta7
Discourse Discourse=2.8.0-beta8
Discourse Discourse=2.8.0-beta9

Event History

Jan 13, 2022
CVE Published
via MITRE·09:05 PM
Data Sourced
via MITRE·09:05 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2022-21684?

CVE-2022-21684 has a medium severity rating due to improper user approval flow.

2

How do I fix CVE-2022-21684?

To fix CVE-2022-21684, update Discourse to version 2.7.13 or later in the stable branch and 2.8.0-beta11 or later in the beta branches.

3

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

CVE-2022-21684 affects Discourse versions prior to 2.7.13 in stable, and all beta versions before 2.8.0-beta11.

4

What kind of vulnerability is CVE-2022-21684?

CVE-2022-21684 is a vulnerability that allows certain users to log in to the forum before they have been approved.

5

Who is impacted by CVE-2022-21684?

Anyone who is invited via email to the forum with user approval requirements may be impacted by CVE-2022-21684.

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