Skip to main content
Vulnerability Database/CVE-2025-67500

CVE-2025-67500: Mastodon Information Disclosure Vulnerability

CVE-2025-67500 is an information disclosure flaw in Mastodon that allows attackers to confirm the existence of restricted status posts through Accept-Language header manipulation. This article covers technical details, affected versions, impact assessment, and available patches.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2025-67500 Overview

Mastodon, the open-source federated social network server based on ActivityPub, contains an information disclosure vulnerability in its error handling logic. The flaw lets an unauthenticated attacker determine whether a specific status (post) identifier exists on a server by sending a request with a non-English Accept-Language header. Response discrepancies reveal the existence of statuses the requester is not authorized to view. The vulnerability does not expose status contents, authors, or any other properties beyond existence. Mastodon classifies this issue under [CWE-204: Observable Response Discrepancy]. Fixed releases are 4.2.28, 4.3.15, 4.4.10, and 4.5.3.

Critical Impact

An attacker who already knows a status identifier can confirm its existence on a Mastodon instance, enabling targeted enumeration of private or restricted posts.

Affected Products

  • Mastodon versions 4.2.27 and prior
  • Mastodon 4.3.0-beta.1 through 4.3.14
  • Mastodon 4.4.0-beta.1 through 4.4.9 and 4.5.0-beta.1 through 4.5.2

Discovery Timeline

  • 2025-12-10 - CVE-2025-67500 published to NVD
  • 2026-10-14 - Last updated in NVD database

Technical Details for CVE-2025-67500

Vulnerability Analysis

The vulnerability is an observable response discrepancy in Mastodon's status lookup error handling. When a client requests a status identifier using a non-English Accept-Language header, the server returns different error responses depending on whether the status record exists in the database. An attacker who already possesses a status identifier can distinguish "not found" from "forbidden" conditions by comparing responses across language headers.

The disclosure is limited to the boolean fact of existence. The content, author, visibility scope, and other metadata of the status remain protected. Despite the narrow scope, the issue breaks the confidentiality guarantee that private, unlisted, or deleted statuses should be indistinguishable from non-existent ones to unauthorized viewers.

Root Cause

The root cause is inconsistent error rendering between localized and default-language code paths. The localization layer surfaces an error message that is only produced when the underlying status record is retrieved, while the authorization check occurs after rendering begins. This ordering produces a measurable difference in response bodies or status codes for existing versus non-existing identifiers.

Attack Vector

Exploitation requires network access to the Mastodon instance and prior knowledge of a candidate status identifier. The attacker sends an HTTP request to the status endpoint with an Accept-Language header set to a non-English locale. By observing the response, the attacker infers whether the identifier maps to a stored status. No authentication, user interaction, or privilege is required. See the GitHub Security Advisory GHSA-gwhw-gcjx-72v8 for additional detail.

Detection Methods for CVE-2025-67500

Indicators of Compromise

  • Repeated HTTP requests to Mastodon status endpoints (/api/v1/statuses/:id or /@user/:id) with non-English Accept-Language headers from a single source.
  • Enumeration-style access patterns iterating over sequential or guessed status identifiers.
  • Spikes in 404 and 403 responses correlated with requests carrying unusual locale headers.

Detection Strategies

  • Alert on high-volume requests to status endpoints from a single IP where the Accept-Language header is non-English and response codes vary across identifiers.
  • Compare request-to-unique-identifier ratios per source to flag probing behavior.
  • Review web server logs for identifier enumeration using automated tooling signatures or elevated request rates.

Monitoring Recommendations

  • Enable detailed request logging for Mastodon API endpoints, including the Accept-Language header value.
  • Forward reverse-proxy and application logs to a centralized logging platform for correlation and retention.
  • Baseline normal Accept-Language distributions per instance and alert on sustained anomalies.

How to Mitigate CVE-2025-67500

Immediate Actions Required

  • Upgrade Mastodon to a fixed release: 4.2.28, 4.3.15, 4.4.10, or 4.5.3.
  • Audit access logs for enumeration patterns against status endpoints prior to patching.
  • Apply rate limiting on status lookup endpoints to slow identifier probing.

Patch Information

The maintainers released fixes in Mastodon 4.2.28, 4.3.15, 4.4.10, and 4.5.3. The remediation commit is tracked in Mastodon Pull Request 37077 Commit 9957d32. Operators of self-hosted instances should upgrade immediately; managed hosting providers should confirm their platform version.

Workarounds

  • Deploy a reverse-proxy rule that normalizes or strips the Accept-Language header on requests to status endpoints until the upgrade is applied.
  • Enforce authentication requirements on status lookup paths where possible via proxy-level access controls.
  • Apply strict rate limiting per source IP on /api/v1/statuses/ and public status URLs to limit enumeration throughput.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.