# CVE-2022-31096: Invites restricted to an email or invite links restricted to an email domain may be bypassed by a under certain conditions in Discourse

- Severity: Medium 5.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.60%, higher than 43% of CVEs (2026-11-30)
- Published: 2022-06-27T21:35:10.000Z
- Modified: 2026-09-08T08:46:05.225Z
- Also known as: BIT-DISCOURSE-2022-31096, GHSA-rvp8-459h-282r
- Weaknesses: CWE-281
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Discourse is an open source discussion platform. Under certain conditions, a logged in user can redeem an invite with an email that either doesn't match the invite's email or does not adhere to the email domain restriction of an invite link. The impact of this flaw is aggravated when the invite has been configured to add the user that accepts the invite into restricted groups. Once a user has been incorrectly added to a restricted group, the user may then be able to view content which that are restricted to the respective group. Users are advised to upgrade to the current stable releases. There are no known workarounds to this issue.

(As written by CVE List.)

## Affected

- discourse discourse: < 2.8.5; stable branch; < 2.9.0.beta6; beta brach; up to 2.8.4; 2.9.0
- discourse (Bitnami): up to 2.8.4

## Every score

- GitHub_M: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 2.1 Low `AV:N/AC:H/Au:S/C:P/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/discourse/discourse/security/advisories/GHSA-rvp8-459h-282r> (advisory, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31096> (web)

## Sources

- CVE List: [CVE-2022-31096](https://www.cve.org/CVERecord?id=CVE-2022-31096), CVE Terms of Use, modified 2025-04-23
- NVD: [CVE-2022-31096](https://nvd.nist.gov/vuln/detail/CVE-2022-31096), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-DISCOURSE-2022-31096](https://osv.dev/vulnerability/BIT-DISCOURSE-2022-31096), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-31096 · Whole record: https://cve.day/CVE-2022-31096.json · Rebuilt by cve.day 2026-11-25T22:58:12.600Z
