CVE-2025-27157 Mastodon's rate-limits are missing on `/auth/setup`
MediumCVSS 5.3
EPSS 0.37%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
Description
Mastodon is a self-hosted, federated microblogging platform. Starting in version 4.2.0 and prior to versions 4.2.16 and 4.3.4, the rate limits are missing on /auth/setup. Without those rate limits, an attacker can craft requests that will send an email to an arbitrary addresses. Versions 4.2.16 and 4.3.4 fix the issue.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| joinmastodon mastodon | >= 4.2.0, < 4.2.16; >= 4.3.0, < 4.3.4 | 4.2.16, 4.3.4 | Fixed |
| mastodon | = >= 4.2.0, < 4.2.16; = >= 4.3.0, < 4.3.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mastodon | = >= 4.2.0, < 4.2.16 | No fix listed |
| mastodon | = >= 4.3.0, < 4.3.4 | No fix listed |
| joinmastodon mastodon | >= 4.2.0, < 4.2.16 | 4.2.16 |
| joinmastodon mastodon | >= 4.3.0, < 4.3.4 | 4.3.4 |