Read the docs
TI-2022-02004 Aliases CVE-2022-2166GHSA-q5qv-4wvf-4v9h

Improper Restriction of Excessive Authentication Attempts in mastodon/mastodon

Priority HIGH 82CWE-307Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-307.

Summary

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

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01133 66th percentileScored 2026-11-07
Fix Fixed mastodon/mastodon (mastodon): 4.0.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
mastodonmastodon/mastodonbefore 4.0.04.0.0Patch availableCNA
  • mastodon/mastodon Vendormastodon Affected before 4.0.0 Fixed in 4.0.0 Patch available CNA

CPE configurations NVD · 5

CPEVersionsRoleVendor
cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*up to 3.5.5Vulnerablemastodon
cpe:2.3:a:joinmastodon:mastodon:4.0.0:rc1:*:*:*:*:*:*4.0.0 rc1Vulnerablemastodon
cpe:2.3:a:joinmastodon:mastodon:4.0.0:rc2:*:*:*:*:*:*4.0.0 rc2Vulnerablemastodon
cpe:2.3:a:joinmastodon:mastodon:4.0.0:rc3:*:*:*:*:*:*4.0.0 rc3Vulnerablemastodon
cpe:2.3:a:joinmastodon:mastodon:4.0.0:rc4:*:*:*:*:*:*4.0.0 rc4Vulnerablemastodon
  • cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:* Versions up to 3.5.5 Vulnerable ·mastodon
  • cpe:2.3:a:joinmastodon:mastodon:4.0.0:rc1:*:*:*:*:*:* Versions 4.0.0 rc1 Vulnerable ·mastodon
  • cpe:2.3:a:joinmastodon:mastodon:4.0.0:rc2:*:*:*:*:*:* Versions 4.0.0 rc2 Vulnerable ·mastodon
  • cpe:2.3:a:joinmastodon:mastodon:4.0.0:rc3:*:*:*:*:*:* Versions 4.0.0 rc3 Vulnerable ·mastodon
  • cpe:2.3:a:joinmastodon:mastodon:4.0.0:rc4:*:*:*:*:*:* Versions 4.0.0 rc4 Vulnerable ·mastodon

Remediation

  • Fix · CNA mastodon/mastodon (mastodon) Fixed in 4.0.0

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-2166
  2. 2026-10-03 Alias added: GHSA-q5qv-4wvf-4v9h

References

  • TI-2025-34613 Mastodon e‑mail throttle misconfiguration allows unlimited email confirmations against unconfirmed emails CVSS 3.1HIGH 7.5
  • TI-2022-22936 Mastodon through 4.0.2 allows attackers to cause a denial of service (large Sidekiq pull… CVSS 3.1HIGH 7.5
  • TI-2023-18301 Mastodon vulnerable to arbitrary file creation through media attachments CVSS 3.1CRITICAL 10.0
  • TI-2023-13359 Mastodon's blind LDAP injection in login allows the attacker to leak arbitrary attributes from LDAP database CVSS 3.1HIGH 7.7
  • TI-2024-16846 External OpenID Connect Account Takeover by E-Mail Change in mastodon CVSS 3.1HIGH 7.4
  • TI-2024-15826 Mastodon Remote user impersonation and takeover CVSS 3.1CRITICAL 9.8
See all 41 →

Sources