CVE-2025-24808
JSON

4.3medium

Discourse has race condition when adding users to a group DM

Severity
4.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.22% (higher than 13% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
BIT-DISCOURSE-2025-24808GHSA-hfcx-qjw6-573r

Description

Discourse is an open-source discussion platform. Prior to versions `3.3.4` on the `stable` branch and `3.4.0.beta5` on the `beta` branch, someone who is about to reach the limit of users in a group DM may send requests to add new users in parallel. The requests might all go through ignoring the limit due to a race condition. The patch in versions `3.3.4` and `3.4.0.beta5` uses the `lock` step in service to wrap part of the `add_users_to_channel` service inside a distributed lock/mutex in order to avoid the race condition.

Affected

Product or packageVersionsReported by
discourse discourse< 3.3.4, >= 3.4.0.beta1, < 3.4.0.beta5, before 3.3.3, before 3.4.0, 3.4.0CVE List, NVD
discourse (Bitnami)before 3.4.0Bitnami Vulnerability Database

All scores

GitHub_M4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
NVD3.1low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-362

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

What each source says

CVE List

Discourse is an open-source discussion platform. Prior to versions `3.3.4` on the `stable` branch and `3.4.0.beta5` on the `beta` branch, someone who is about to reach the limit of users in a group DM may send requests to add new users in parallel. The requests might all go through ignoring the limit due to a race condition. The patch in versions `3.3.4` and `3.4.0.beta5` uses the `lock` step in service to wrap part of the `add_users_to_channel` service inside a distributed lock/mutex in order to avoid the race condition.

NVD (es)

Discourse es una plataforma de discusión de código abierto. Antes de las versiones 3.3.4 de la rama estable y 3.4.0.beta5 de la rama beta, alguien que estuviera a punto de alcanzar el límite de usuarios en un mensaje directo grupal podía enviar solicitudes para agregar nuevos usuarios en paralelo. Debido a una condición de ejecución, todas las solicitudes podían procesarse ignorando el límite. El parche de las versiones 3.3.4 y 3.4.0.beta5 utiliza el paso de bloqueo del servicio para encapsular parte del servicio `add_users_to_channel` dentro de un bloqueo/mutex distribuido y así evitar la condición de ejecución.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-24808 changed 2025-03-26CVE Terms of Use
NVDCVE-2025-24808 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-DISCOURSE-2025-24808 changed 2026-09-10Apache-2.0