CVE-2025-54879: Mastodon e‑mail throttle misconfiguration allows unlimited email confirmations against unconfirmed emails
Mastodon is a free, open-source social network server based on ActivityPub Mastodon which facilitates LDAP configuration for authentication. In versions 3.1.5 through 4.2.24, 4.3.0 through 4.3.11 and 4.4.0 through 4.4.3, Mastodon's rate-limiting system has a critical configuration error where the email-based throttle for confirmation emails incorrectly checks the password reset path instead of the confirmation path, effectively disabling per-email limits for confirmation requests. This allows attackers to bypass rate limits by rotating IP addresses and send unlimited confirmation emails to any email address, as only a weak IP-based throttle (25 requests per 5 minutes) remains active. The vulnerability enables denial-of-service attacks that can overwhelm mail queues and facilitate user harassment through confirmation email spam. This is fixed in versions 4.2.24, 4.3.11 and 4.4.3.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-54879?
CVE-2025-54879 is classified as a critical vulnerability due to its impact on the rate-limiting system in Mastodon.
How do I fix CVE-2025-54879?
To fix CVE-2025-54879, upgrade Mastodon to version 4.4.4 or later, as it contains the necessary patches.
What versions of Mastodon are affected by CVE-2025-54879?
CVE-2025-54879 affects Mastodon versions from 3.1.5 to 4.2.24 and from 4.3.0 to 4.4.3.
What is the primary risk associated with CVE-2025-54879?
The primary risk associated with CVE-2025-54879 is the potential for abuse of the rate-limiting system, leading to service degradation.
Is there a workaround for CVE-2025-54879?
There is no official workaround for CVE-2025-54879; upgrading to a fixed version is the recommended action.