Auth bypass in Discourse

CVE-2025-24972

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, in specific circumstances, users could be added to group direct messages despite disabling direct messaging in their preferences. Versions `3.3.4` and `3.4.0.beta5` contain a patch for the issue. A workaround is available. If a user disables chat in their preferences then they cannot be added to new group chats.

Vulnerability class: Broken Access Control

EPSS: 0.004 (27.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N.

Affected products

  • Discourse — versions >= 3.4.0.beta1, < 3.4.0.beta5, 3.4.0, < 3.3.4

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-24972?
CVE-2025-24972 is a medium-severity vulnerability in Discourse, classified under Missing Authorization. CVSS score: 4.3/10. Published 2025-03-26.
How severe is CVE-2025-24972?
Medium severity. CVSS v3 base score is 4.3 out of 10.