All vulnerabilities

Servers and applications

CVE-2025-27157

Missing rate-limit on sign-up email verification

Severity
Medium 5.3
Published
27 Feb 2025
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
4.2.16, 4.3.4
Also known as
GHSA-v39f-c9jj-8w7h
Sources
NVD, Project advisories (GitHub)

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 software

SoftwareAffected versions
MastodonServers and applications · cpe:a:joinmastodon:mastodon
  • From 4.2.0 before 4.2.16
  • From 4.3.0 before 4.3.4
MastodonServers and applications · github:mastodon/mastodon
  • From 4.2.0 before 4.2.16

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2025-27157
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2025-27157
  • GitHub Advisory Database https://github.com/advisories/GHSA-v39f-c9jj-8w7h
  • github.com https://github.com/mastodon/mastodon/security/advisories/GHSA-v39f-c9jj-8w7h