# CVE-2026-72914: Mastodon: Exhausting data by an unauthenticated request to the admin retention API

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.83% (percentile 55, 2026-11-28)
- **CWE:** CWE-405, CWE-770
- **Published:** 2026-08-10T21:13:20.856Z
- **Modified:** 2026-09-09T20:55:04.493Z

## Who should check

- Anyone running mastodon \< 4.4.21; \>= 4.5.0-beta.1, \< 4.5.14; \>= 4.6.0-beta.1, \< 4.6.4

## 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.

## Affected and fixed versions

- mastodon: \< 4.4.21; \>= 4.5.0-beta.1, \< 4.5.14; \>= 4.6.0-beta.1, \< 4.6.4 (cvelist)

## Mitigation

- Upgrade mastodon to 4.6.4 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-72914. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-72914.md
Affected: mastodon < 4.4.21; >= 4.5.0-beta.1, < 4.5.14; >= 4.6.0-beta.1, < 4.6.4
Fixed in: mastodon 4.4.21, mastodon 4.5.14, mastodon 4.6.4

Steps:
1. Search this machine and project for mastodon: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-72914 being exploited?

There is no confirmed exploitation: CVE-2026-72914 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.83% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-72914?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-72914?

mastodon \< 4.4.21; \>= 4.5.0-beta.1, \< 4.5.14; \>= 4.6.0-beta.1, \< 4.6.4.

### Is there a fix for CVE-2026-72914?

Yes. Fixed in mastodon 4.4.21, mastodon 4.5.14, mastodon 4.6.4. Upgrade mastodon to 4.6.4 or later.

### How do I check if I'm affected by CVE-2026-72914?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/mastodon/mastodon/security/advisories/GHSA-7jvv-fhmg-wpfw>
- patch: <https://github.com/mastodon/mastodon/commit/18c61f286f1f5718a8f517940ba384866ffa3892>
- patch: <https://github.com/mastodon/mastodon/commit/467c933459c7d0e5513475b9e4888afaedfb1074>
- patch: <https://github.com/mastodon/mastodon/commit/930aa9fee26bf9eaefe27826fa1061288d83373b>
- patch: <https://github.com/mastodon/mastodon/commit/da47a1bd3cd07935d7ca55a1f4f1a76f7f167e0d>
- other: <https://github.com/mastodon/mastodon/releases/tag/v4.4.21>
- other: <https://github.com/mastodon/mastodon/releases/tag/v4.5.14>
- other: <https://github.com/mastodon/mastodon/releases/tag/v4.6.4>
- other: <https://github.com/mastodon/mastodon/releases/tag/v4.7.0-beta.1>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-72914>

HTML: <https://flawdb.com/CVE-2026-72914> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-72914>
