CVE Catalog

CVE-2025-24808

MediumCVSS 4.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.22%

13th percentile - higher than 13% of all known CVEs

Summary

Discourse before versions 3.3.4 (stable) and 3.4.0.beta5 (beta) has a race condition in the add_users_to_channel service. Parallel requests may bypass the user limit in a group DM, allowing the intended limit to be exceeded.

Risk Assessment

An attacker could bypass the user limit in a group, potentially leading to unauthorized access to content or system overload. The risk affects Discourse instances running vulnerable versions.

Recommendation

Update Discourse to version 3.3.4 or 3.4.0.beta5 (or later), which include a fix using a distributed lock. Monitor for unusual attempts to add users to groups.

Other vulnerabilities in Discourse

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS