# CVE-2022-2166: Improper Restriction of Excessive Authentication Attempts in mastodon/mastodon

- Severity: Critical 9.8 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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): 1.41%, higher than 73% of CVEs (2026-12-01)
- Published: 2022-11-16T00:00:00.000Z
- Modified: 2026-09-08T08:48:13.264Z
- Also known as: BIT-MASTODON-2022-2166
- Weaknesses: CWE-307
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: @huntrdev

## Description

Improper Restriction of Excessive Authentication Attempts in GitHub repository mastodon/mastodon prior to 4.0.0.

(As written by CVE List.)

## Affected

- mastodon mastodon/mastodon: from unspecified before 4.0.0
- joinmastodon mastodon: up to 3.5.5; 4.0.0
- mastodon (Bitnami): before 3.5.6

## Every score

- @huntrdev: CVSS:3.0 9.8 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://huntr.dev/bounties/2f96f990-01c2-44ea-ae47-58bdb3aa455b> (advisory, third-party-advisory)
- <https://github.com/mastodon/mastodon/commit/21fd25a269cca742af431f0d13299e139f267346> (advisory, patch, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-2166> (web)

## Sources

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

---

Page: https://cve.day/CVE-2022-2166 · Whole record: https://cve.day/CVE-2022-2166.json · Rebuilt by cve.day 2026-11-25T22:58:16.550Z
