CVE-2025-27157
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.
Severity
MEDIUM
CVSS v3
5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L · source cna
Exploit chance (EPSS)
0.369%
chance of exploitation in the next 30 days
higher than 31.2% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-770: Allocation of Resources Without Limits or Throttling
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2025-02-27 |
Timeline
- 2025-02-27Published by the CNA17:12 UTC
- 2025-02-27CISA SSVC decision recordedsame day
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| joinmastodon mastodon | from 4.2.0 before 4.2.16fixed in 4.2.16from 4.3.0 before 4.3.4fixed in 4.3.4 | 4.2.164.3.4 |
References
- https://github.com/mastodon/mastodon/commit/06f879ce9bea195344ac9f71e6799eea500628ec
- https://github.com/mastodon/mastodon/security/advisories/GHSA-v39f-c9jj-8w7h
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2025-27157'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2025-27157'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2025-27157'curl 'https://api.contrastcyber.com/cve_products/CVE-2025-27157'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).