{"id":"CVE-2025-27157","summary":"Mastodon's rate-limits are missing on `/auth/setup`","details":"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.","aliases":["BIT-mastodon-2025-27157","GHSA-v39f-c9jj-8w7h"],"modified":"2026-08-12T03:51:46.458476309Z","published":"2025-02-27T17:12:39.043Z","database_specific":{"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"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/27xxx/CVE-2025-27157.json"},{"type":"ADVISORY","url":"https://github.com/mastodon/mastodon/security/advisories/GHSA-v39f-c9jj-8w7h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27157"},{"type":"FIX","url":"https://github.com/mastodon/mastodon/commit/06f879ce9bea195344ac9f71e6799eea500628ec"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mastodon/mastodon","events":[{"introduced":"4fcc026f0f1b12a9de21a3af33375a9c8867dd55"},{"fixed":"015858aef749b39e0a0ac662c8022ea0bf23b456"},{"introduced":"ab36c152f9e5f9054798504354365dcaef4e5c43"},{"fixed":"c1f398ae93d23ebb1ff5c7df5a32bc161a632980"},{"fixed":"06f879ce9bea195344ac9f71e6799eea500628ec"}],"database_specific":{"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"]}}],"versions":["v4.3.3","v4.2.15","v4.2.14","v4.3.2","v4.3.1","v4.3.0","v4.2.13","v4.3.0-rc.1","v4.2.12","v4.3.0-beta.2","v4.3.0-beta.1","v4.2.11","v4.2.10","v4.2.9","v4.2.8","v4.2.7","v4.2.6","v4.2.5","v4.2.4","v4.2.3","v4.2.2","v4.2.1","v4.2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-27157.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}