CVE-2025-54879

Source
https://cve.org/CVERecord?id=CVE-2025-54879
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-54879.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-54879
Aliases
Published
2025-08-05T23:39:59Z
Modified
2026-10-28T02:30:28Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
Mastodon e‑mail throttle misconfiguration allows unlimited email confirmations against unconfirmed emails
Details

Mastodon is a free, open-source social network server based on ActivityPub Mastodon which facilitates LDAP configuration for authentication. In versions 3.1.5 through 4.2.24, 4.3.0 through 4.3.11 and 4.4.0 through 4.4.3, Mastodon's rate-limiting system has a critical configuration error where the email-based throttle for confirmation emails incorrectly checks the password reset path instead of the confirmation path, effectively disabling per-email limits for confirmation requests. This allows attackers to bypass rate limits by rotating IP addresses and send unlimited confirmation emails to any email address, as only a weak IP-based throttle (25 requests per 5 minutes) remains active. The vulnerability enables denial-of-service attacks that can overwhelm mail queues and facilitate user harassment through confirmation email spam. This is fixed in versions 4.2.24, 4.3.11 and 4.4.3.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-770"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54879.json"
}
References

Affected packages

Git / github.com/mastodon/mastodon

Affected ranges

Type
GIT
Repo
https://github.com/mastodon/mastodon
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "3.1.5"
                },
                {
                    "fixed":  "4.2.24"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "4.3.0"
                },
                {
                    "fixed":  "4.3.11"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "4.4.0"
                },
                {
                    "fixed":  "4.4.3"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "range":  [
                {
                    "fixed":  "e2592419d93fb41be03c2f3ff6a122fecb0e0952"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "v4.4.3",
            "range":  [
                {
                    "fixed":  "5478ef9b32be0c7ac8f86330760485a7531d218a"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

v4.*
v4.3.0
v4.3.1
v4.3.10
v4.3.2
v4.3.3
v4.3.4
v4.3.5
v4.3.6
v4.3.7
v4.3.8
v4.3.9
v4.4.0
v4.4.1
v4.4.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-54879.json"