CVE-2025-54879 Mastodon e‑mail throttle misconfiguration allows unlimited email confirmations against unconfirmed emails
- Published
- Updated
- Exploit status
- No public exploit known
Description
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| mastodon | = >= 3.1.5, < 4.2.24 | No fix listed |
| mastodon | = >= 4.3.0, < 4.3.11 | No fix listed |
| mastodon | = >= 4.4.0, < 4.4.3 | No fix listed |
| joinmastodon mastodon | >= 3.1.5, < 4.2.24 | 4.2.24 |
| joinmastodon mastodon | >= 4.3.0, < 4.3.11 | 4.3.11 |
| joinmastodon mastodon | >= 4.4.0, < 4.4.3 | 4.4.3 |