# CVE-2025-24972: Discourse may bypass user preference when adding users to chat groups

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Published: 2025-03-26T14:15:13.164Z
- Modified: 2026-09-08T08:46:19.028Z
- Also known as: BIT-DISCOURSE-2025-24972, GHSA-4p63-qw6g-4mv2
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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, 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.

(As written by CVE List.)

## Affected

- discourse discourse: < 3.3.4; >= 3.4.0.beta1, < 3.4.0.beta5; before 3.3.4; before 3.4.0; 3.4.0
- discourse (Bitnami): before 3.4.0

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/discourse/discourse/security/advisories/GHSA-4p63-qw6g-4mv2> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-24972> (web)

## Sources

- CVE List: [CVE-2025-24972](https://www.cve.org/CVERecord?id=CVE-2025-24972), CVE Terms of Use, modified 2025-03-26
- NVD: [CVE-2025-24972](https://nvd.nist.gov/vuln/detail/CVE-2025-24972), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-DISCOURSE-2025-24972](https://osv.dev/vulnerability/BIT-DISCOURSE-2025-24972), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-24972 · Whole record: https://cve.day/CVE-2025-24972.json · Rebuilt by cve.day 2026-11-25T22:58:55.528Z
