CVE-2022-31025

Summary

CVECVE-2022-31025
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-06-07 15:15:00 UTC
Updated2023-07-21 17:09:00 UTC
DescriptionDiscourse 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 `must_approve_users` 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 `min_trust_level_to_allow_invite` to reduce the attack surface to more trusted users.

Risk And Classification

Problem Types: NVD-CWE-Other

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Discourse Discourse All All All All
Application Discourse Discourse 2.9.0 beta1 All All
Application Discourse Discourse 2.9.0 beta2 All All
Application Discourse Discourse 2.9.0 beta3 All All
Application Discourse Discourse 2.9.0 beta4 All All

References

ReferenceSourceLinkTags
SECURITY: Remove auto approval when redeeming an invite (#16974) · discourse/discourse@7c4e2d3 · GitHub MISC github.com
SECURITY: Remove auto approval when redeeming an invite by gschlager · Pull Request #16974 · discourse/discourse · GitHub MISC github.com
Invite bypasses user approval · Advisory · discourse/discourse · GitHub CONFIRM github.com
FIX: Approves user when redeeming an invite for invites only sites by tgxworld · Pull Request #16984 · discourse/discourse · GitHub MISC github.com
FIX: Approves user when redeeming an invite for invites only sites (#… · discourse/discourse@0fa0094 · GitHub MISC github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report