CVE-2026-72914 PUBLISHED

Mastodon: Exhausting data by an unauthenticated request to the admin retention API

Assigner: GitHub_M
Reserved: 10.08.2026 Published: 10.08.2026 Updated: 10.08.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS Score: 7.5

Product Status

Vendor mastodon
Product mastodon
Versions
  • Version < 4.4.21 is affected
  • Version >= 4.5.0-beta.1, < 4.5.14 is affected
  • Version >= 4.6.0-beta.1, < 4.6.4 is affected

References

Problem Types

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