CVE-2026-72914

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

State
Published
Severity
7.5 High
Published
Aug 10, 2026
Updated
Aug 11, 2026
Reserved
Aug 10, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HGitHub_M

Weaknesses

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

Affected Products

ProductVersions
mastodonmastodon
  • < 4.4.21Affected
  • >= 4.5.0-beta.1, < 4.5.14Affected
  • >= 4.6.0-beta.1, < 4.6.4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.