# CVE-2021-3138: In Discourse 2.7.0 through beta1, a rate-limit bypass leads to a bypass of the 2FA requirement for certain forms.

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/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): 3.03%, higher than 87% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-01-14T03:30:11.000Z
- Modified: 2026-09-08T08:46:02.226Z
- Also known as: BIT-DISCOURSE-2021-3138
- Weaknesses: CWE-307
- Assigned by: mitre

## Description

In Discourse 2.7.0 through beta1, a rate-limit bypass leads to a bypass of the 2FA requirement for certain forms.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- discourse discourse: up to 2.6.0; 2.7.0
- discourse (Bitnami): up to 2.6.0

## Every score

- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <http://packetstormsecurity.com/files/162256/Discourse-2.7.0-2FA-Bypass.html> (exploit, advisory, third-party-advisory, vdb-entry)
- <https://github.com/discourse/discourse/releases> (advisory, release-notes, third-party-advisory)
- <https://github.com/Mesh3l911/Disource> (advisory, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3138> (web)

## Sources

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

---

Page: https://cve.day/CVE-2021-3138 · Whole record: https://cve.day/CVE-2021-3138.json · Rebuilt by cve.day 2026-11-25T22:57:59.451Z
