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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-770"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/27xxx/CVE-2025-27157.json"
}{
"cpe": "cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "4.2.0"
},
{
"fixed": "4.2.16"
},
{
"introduced": "4.3.0"
},
{
"fixed": "4.3.4"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
]
}