Skip to content

CVE-2025-24808 Discourse has race condition when adding users to a group DM

LowCVSS 3.1 EPSS 0.36%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
discourse < 3.3.3; < 3.4.0; = 3.4.0-beta1; = 3.4.0-beta2 +4 more 3.3.3, 3.4.0 Fixed

Affected products

ProductAffected versionsFixed in
discourse = < 3.3.4 No fix listed
discourse = >= 3.4.0.beta1, < 3.4.0.beta5 No fix listed
discourse < 3.3.3 3.3.3
discourse < 3.4.0 3.4.0
discourse = 3.4.0-beta1 No fix listed
discourse = 3.4.0-beta2 No fix listed
discourse = 3.4.0-beta3 No fix listed
discourse = 3.4.0-beta4 No fix listed

References