CVE-2025-27399: Mastodon's domain blocks & rationales ignore user approval when visibility set as "users"

Published Feb 27, 2025
·
Updated

Mastodon is a self-hosted, federated microblogging platform. In versions prior to 4.1.23, 4.2.16, and 4.3.4, when the visibility for domain blocks/reasons is set to "users" (localized English string: "To logged-in users"), users that are not yet approved can view the block reasons. Instance admins that do not want their domain blocks to be public are impacted. Versions 4.1.23, 4.2.16, and 4.3.4 fix the issue.

Affected Software

4 affected components
Mastodon Mastodon<4.1.23, <4.2.16, <4.3.4
Joinmastodon Mastodon<4.1.23
Joinmastodon Mastodon>=4.2.0<4.2.16
Joinmastodon Mastodon>=4.3.0<4.3.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Mastodon to a version that resolves this vulnerability.

    Fixed in 4.1.23
  2. Upgrade

    Upgrade Mastodon to a version that resolves this vulnerability.

    Fixed in 4.2.16
  3. Upgrade

    Upgrade Mastodon to a version that resolves this vulnerability.

    Fixed in 4.3.4

Event History

Feb 27, 2025
CVE Published
via MITRE·05:15 PM
Data Sourced
via MITRE·05:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-27399?

CVE-2025-27399 is considered a medium severity vulnerability due to unauthorized access to block reasons by unapproved users.

2

How do I fix CVE-2025-27399?

To fix CVE-2025-27399, update your Mastodon installation to versions 4.1.23, 4.2.16, or 4.3.4 or later.

3

What are the affected versions for CVE-2025-27399?

CVE-2025-27399 affects Mastodon versions prior to 4.1.23, 4.2.16, and 4.3.4.

4

What is the impact of CVE-2025-27399 on users?

The impact of CVE-2025-27399 allows unapproved users to see domain block reasons, which may expose sensitive information.

5

Is there a workaround for CVE-2025-27399 if I cannot update?

There is no specific workaround for CVE-2025-27399, so updating to a patched version is strongly recommended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203