CVE-2022-21684 json
User can bypass approval when invited to Discourse
published 2022-01-13 4 y ago modified 2026-09-08 2 mo ago also BIT-discourse-2022-21684 , EUVD-2022-26893 , GHSA-p63q-jp48-h8xh
- cvss
- 4.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 58%
- public exploits
- 0
- none known
Summary
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 `must_approve_users` 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 `min_trust_level_to_allow_invite` to reduce the attack surface to more trusted users.
Patch / fix
- bitnami discourse 2.7.13
- discourse discourse 2.7.13
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.86% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.0 | AV:N/AC:M/Au:S/C:P/I:P/A:P |
| OSV | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | discourse | <2.7.13 |
2.7.13 |
Affected products
- discourse discourse
Classification
- Weakness
-
- CWE-287 Improper Authentication
References
-
github.com
/discourse/discourse/commit/584c6a2e8bc705072b09a9c4b55126d6f8ed4ad2
patch, third-party-advisory, advisory
-
github.com
/discourse/discourse/security/advisories/GHSA-p63q-jp48-h8xh
patch, third-party-advisory, advisory
-
meta.discourse.org
/t/invite-redemption-allowed-user-to-access-forum-before-approval/214328
issue-tracking, patch, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-21684
web
Sources
- CVE List CVE-2022-21684
- NVD CVE-2022-21684
- OSV BIT-discourse-2022-21684
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.