CVE-2026-72914

Summary

Mastodon is a free, open-source social network server based on ActivityPub. Prior to 4.4.21, 4.5.14, 4.6.4, and 4.7.0-beta.1, the administrative statistics endpoints handled by Api::V1::Admin::MeasuresController and Api::V1::Admin::RetentionController checked authorization only after beginning expensive calculations. Anonymous callers could submit keys, start_at, and end_at parameters that caused long-running SQL queries in Admin::Metrics::Measure, Admin::Metrics::Retention, and Admin::Metrics::Dimension::BaseDimension, allowing repeated requests to exhaust server resources. This issue is fixed in versions 4.4.21, 4.5.14, 4.6.4, and 4.7.0-beta.1.

Affected Software

VendorProductVersion RangeStatus
mastodonmastodon< 4.4.21affected
mastodonmastodon>= 4.5.0-beta.1, < 4.5.14affected
mastodonmastodon>= 4.6.0-beta.1, < 4.6.4affected

Weaknesses

  • CWE-405: CWE-405: Asymmetric Resource Consumption (Amplification)
  • CWE-770: CWE-770: Allocation of Resources Without Limits or Throttling

References