Skip to main content
← All vulnerabilities
CVE-2025-24808

Discourse has race condition when adding users to a group DM

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.3.4, 3.4.0.beta5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • discourse discourse

    fixed in 3.3.4; From 3.4.0.beta1 · fixed in 3.4.0.beta5

References 2

GitHub · discourse/discourse