# CVE-2023-40588: Discourse DoS via 2FA and Security Key Names

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- 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.62%, higher than 50% of CVEs (2026-12-01)
- Published: 2023-09-15T19:23:39.480Z
- Modified: 2026-09-08T08:46:14.767Z
- Also known as: BIT-DISCOURSE-2023-40588, GHSA-2hg5-3xm3-9vvx
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Discourse is an open-source discussion platform. Prior to version 3.1.1 of the `stable` branch and version 3.2.0.beta1 of the `beta` and `tests-passed` branches, a malicious user could add a 2FA or security key with a carefully crafted name to their account and cause a denial of service for other users. The issue is patched in version 3.1.1 of the `stable` branch and version 3.2.0.beta1 of the `beta` and `tests-passed` branches. There are no known workarounds.

(As written by CVE List.)

## Affected

- discourse discourse: stable < 3.1.1; beta < 3.2.0.beta1; tests-passed < 3.2.0.beta1; before 3.1.1; 1.1.0; 1.2.0; 1.3.0; 1.4.0; 1.5.0
- discourse (Bitnami): before 3.1.1

## Every score

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

## References

- <https://github.com/discourse/discourse/security/advisories/GHSA-2hg5-3xm3-9vvx> (advisory, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-40588> (web)

## Sources

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

---

Page: https://cve.day/CVE-2023-40588 · Whole record: https://cve.day/CVE-2023-40588.json · Rebuilt by cve.day 2026-11-25T22:58:27.945Z
