{"id":"CVE-2025-24808","aliases":["CVE-2025-24808","BIT-DISCOURSE-2025-24808","GHSA-hfcx-qjw6-573r"],"related":[],"kind":"vulnerability","state":"published","title":"Discourse has race condition when adding users to a group DM","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-03-26T14:08:38.915Z","modified":"2026-09-10T16:01:30.954Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","score":3.1,"rating":"LOW"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-362"],"affected":[{"ranges":[{"version":"< 3.3.4","status":"affected"},{"version":">= 3.4.0.beta1, < 3.4.0.beta5","status":"affected"}],"vendor":"discourse","product":"discourse","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"3.3.3"},{"status":"affected","fixed":"3.4.0"},{"status":"affected","version":"3.4.0"},{"status":"affected","version":"3.4.0"},{"status":"affected","version":"3.4.0"},{"status":"affected","version":"3.4.0"}],"vendor":"discourse","product":"discourse","cpe":"cpe:2.3:a:discourse:discourse:*:*:*:*:stable:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.4.0"}],"ecosystem":"Bitnami","package":"discourse","purl":"pkg:bitnami/discourse","source":"bitnami"}],"references":[{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-hfcx-qjw6-573r","tags":["advisory","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/discourse/discourse/commit/a16b2f224860f6678f89f5ffa012f0ede17e4095","tags":["fix","patch","x-refsource-misc"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24808","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-03-26T18:26:11.826Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-24808","url":"https://www.cve.org/CVERecord?id=CVE-2025-24808","licence":"CVE Terms of Use","modified":"2025-03-26T18:26:18.555Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-24808","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24808","licence":"Public domain","modified":"2026-06-17T08:59:38.957Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-DISCOURSE-2025-24808","url":"https://osv.dev/vulnerability/BIT-DISCOURSE-2025-24808","licence":"Apache-2.0","modified":"2026-09-10T16:01:30.954Z"}],"updatedAt":"2026-11-25T22:58:55.523Z","epss":{"score":0.00218,"percentile":0.13025,"date":"2026-12-01T12:00:22.000Z"}}