CVE-2025-24808
published medium CVSS 3.1 · 4.3Discourse has race condition when adding users to a group DM
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| discourse | — | discourse< 3.3.4 · >= 3.4.0.beta1, < 3.4.0.beta5 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| discourse | discourse | < 3.3.4 (affected)>= 3.4.0.beta1, < 3.4.0.beta5 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-362 CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
References
2Provider assertions
2GitHub_M · cna
Discourse has race condition when adding users to a group DM
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 8de0e145ffe533c2d16b90e9b3bf258caa14f568ae94f85fad5e4cf97fa41a39
- Ingested
- 23 Sep 2026, 08:41:39 UTC
- Source record
- Official CVE record