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.
{
"cwe_ids": [
"CWE-362"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/24xxx/CVE-2025-24808.json",
"unresolved_ranges": [
{
"source": "AFFECTED_FIELD",
"extracted_events": [
{
"introduced": "3.4.0.beta1"
},
{
"fixed": "3.4.0.beta5"
}
]
}
],
"cna_assigner": "GitHub_M"
}{
"cpe": [
"cpe:2.3:a:discourse:discourse:*:*:*:*:stable:*:*:*",
"cpe:2.3:a:discourse:discourse:*:*:*:*:beta:*:*:*",
"cpe:2.3:a:discourse:discourse:3.4.0:beta1:*:*:beta:*:*:*",
"cpe:2.3:a:discourse:discourse:3.4.0:beta2:*:*:beta:*:*:*",
"cpe:2.3:a:discourse:discourse:3.4.0:beta3:*:*:beta:*:*:*",
"cpe:2.3:a:discourse:discourse:3.4.0:beta4:*:*:beta:*:*:*"
],
"source": [
"CPE_RANGE",
"CPE_STRING",
"REFERENCES"
],
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "3.3.3"
},
{
"fixed": "3.4.0"
},
{
"introduced": "3.4.0-beta1"
},
{
"last_affected": "3.4.0-beta1"
},
{
"introduced": "3.4.0-beta2"
},
{
"last_affected": "3.4.0-beta2"
},
{
"introduced": "3.4.0-beta3"
},
{
"last_affected": "3.4.0-beta3"
},
{
"introduced": "3.4.0-beta4"
},
{
"last_affected": "3.4.0-beta4"
}
]
}