CVE-2022-31096
JSON

5.7medium

Invites restricted to an email or invite links restricted to an email domain may be bypassed by a under certain conditions in Discourse

Severity
5.7medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.60% (higher than 43% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
BIT-DISCOURSE-2022-31096GHSA-rvp8-459h-282r

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.

Affected

Product or packageVersionsReported by
discourse discourse< 2.8.5; stable branch, < 2.9.0.beta6; beta brach, up to 2.8.4, 2.9.0CVE List, NVD
discourse (Bitnami)up to 2.8.4Bitnami Vulnerability Database

All scores

GitHub_M5.7medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
NVD5.7medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
NVD2.1low CVSS:2.0AV:N/AC:H/Au:S/C:P/I:N/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-281

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Discourse es una plataforma de debate de código abierto. Bajo determinadas condiciones, un usuario conectado puede canjear una invitación con un correo electrónico que o bien no coincide con el correo electrónico de la invitación o no es adherido a la restricción de dominio de correo electrónico de un enlace de invitación. El impacto de este fallo es agravado cuando la invitación ha sido configurada para añadir al usuario que acepta la invitación a grupos restringidos. Una vez que un usuario ha sido añadido incorrectamente a un grupo restringido, el usuario puede entonces ser capaz de visualizar contenidos que están restringidos al grupo respectivo. Es recomendado a usuarios actualizar a versiones estables actuales. No se presentan mitigaciones conocidas para este problema

References

Sources

SourceRecordLicence
CVE ListCVE-2022-31096 changed 2025-04-23CVE Terms of Use
NVDCVE-2022-31096 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-DISCOURSE-2022-31096 changed 2026-09-08Apache-2.0