CVE-2021-3138
CVE-2021-3138 is a high-severity vulnerability in Discourse with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-307.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- CVSS v2: 5.0
- EPSS exploit prediction: 3% (86th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-307
- Affected product: Discourse
- Published:
- Last modified:
Description
In Discourse 2.7.0 through beta1, a rate-limit bypass leads to a bypass of the 2FA requirement for certain forms.
Frequently asked questions
- What is 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.
- How severe is CVE-2021-3138?
- CVE-2021-3138 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2021-3138 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 3% (86th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-3138?
- CVE-2021-3138 primarily affects Discourse. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2021-3138?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2021-3138 published?
- CVE-2021-3138 was published on 2021-01-14 and last updated on 2026-06-17.
References
- http://packetstormsecurity.com/files/162256/Discourse-2.7.0-2FA-Bypass.html
- https://github.com/Mesh3l911/Disource
- https://github.com/discourse/discourse/releases
Affected products (2)
- cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*
- cpe:2.3:a:discourse:discourse:2.7.0:beta1:*:*:*:*:*:*
More vulnerabilities in Discourse
- CVE-2021-41163 — Critical (CVSS 10.0): Discourse is an open source platform for community discussion. In affected versions maliciously crafted requests could…
- CVE-2025-53102 — Critical (CVSS 9.8): Discourse is an open-source community discussion platform. Prior to version 3.4.7 on the `stable` branch and version…
- CVE-2025-48877 — Critical (CVSS 9.8): Discourse is an open-source discussion platform. Prior to version 3.4.4 of the `stable` branch, version 3.5.0.beta5 of…
- CVE-2022-36066 — Critical (CVSS 9.1): Discourse is an open source discussion platform. In versions prior to 2.8.9 on the `stable` branch and prior to…
- CVE-2022-39356 — High (CVSS 8.9): Discourse is a platform for community discussion. Users who receive an invitation link that is not scoped to a single…
- CVE-2023-22468 — High (CVSS 8.8): Discourse is an open source platform for community discussion. Versions prior to 2.8.13 (stable), 3.0.0.beta16 (beta)…
All CVEs affecting Discourse →
Other CWE-307 (Improper Restriction of Excessive Authentication Attempts) vulnerabilities
- CVE-2026-6853 — Critical (CVSS 9.8): Improper restriction of excessive authentication attempts vulnerability in Başbelen Group Food Cafe Businesses…
- CVE-2026-8760 — Critical (CVSS 9.8): The Login with OTP plugin for WordPress is vulnerable to authentication bypass in all versions up to, and including,…
- CVE-2020-37228 — Critical (CVSS 9.8): iDS6 DSSPro Digital Signage System 6.2 contains a CAPTCHA security bypass vulnerability that allows attackers to bypass…
- CVE-2026-33879 — Critical (CVSS 9.8): Federated Learning and Interoperability Platform (FLIP) is an open-source platform for federated training and…
- CVE-2026-33640 — Critical (CVSS 9.8): Outline is a service that allows for collaborative documentation. Outline implements an Email OTP login flow for users…
- CVE-2026-31851 — Critical (CVSS 9.8): Nexxt Solutions Nebula 300+ firmware through version 12.01.01.37 does not implement rate limiting or account lockout…
Browse all CWE-307 (Improper Restriction of Excessive Authentication Attempts) vulnerabilities →