5.3medium
Mastodon's rate-limits are missing on `/auth/setup`
- Severity
- 5.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.37% (higher than 32% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- BIT-MASTODON-2025-27157GHSA-v39f-c9jj-8w7h
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| mastodon mastodon | >= 4.2.0, < 4.2.16, >= 4.3.0, < 4.3.4 | CVE List |
| joinmastodon mastodon | from 4.2.0 before 4.2.16, from 4.3.0 before 4.3.4 | NVD |
| mastodon (Bitnami) | from 4.2.0 before 4.3.4 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Mastodon es una plataforma de microblogging federada y alojada por el usuario. A partir de la versión 4.2.0 y antes de las versiones 4.2.16 y 4.3.4, faltan los límites de velocidad en `/auth/setup`. Sin esos límites de velocidad, un atacante puede crear solicitudes que envíen un correo electrónico a direcciones arbitrarias. Las versiones 4.2.16 y 4.3.4 solucionan el problema.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-27157 changed 2025-02-27 | CVE Terms of Use |
| NVD | CVE-2025-27157 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MASTODON-2025-27157 changed 2026-09-08 | Apache-2.0 |