CVE-2025-27157
JSON

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 packageVersionsReported by
mastodon mastodon>= 4.2.0, < 4.2.16, >= 4.3.0, < 4.3.4CVE List
joinmastodon mastodonfrom 4.2.0 before 4.2.16, from 4.3.0 before 4.3.4NVD
mastodon (Bitnami)from 4.2.0 before 4.3.4Bitnami Vulnerability Database

All scores

GitHub_M5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Bitnami Vulnerability Databasemedium rating

Classification

CWE-770

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

SourceRecordLicence
CVE ListCVE-2025-27157 changed 2025-02-27CVE Terms of Use
NVDCVE-2025-27157 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-MASTODON-2025-27157 changed 2026-09-08Apache-2.0