CVE-2026-21728: Grafana Tempo has an Uncontrolled Resource Consumption issue
Tempo queries with large limits can cause large memory allocations which can impact the availability of the service, depending on its deployment strategy. Mitigation can be done by setting maxresultlimit in the search config, e.g. to 262144 (2^18).
Published Apr 24, 2026 · Updated May 5, 2026
Affected packages
github.com/grafana/tempo
- Ecosystem
- Go
- Affected
- >= 1.3.0, < 2.8.4
- Fixed in
- 2.8.4
- Check
go list -m github.com/grafana/tempo
github.com/grafana/tempo
- Ecosystem
- Go
- Affected
- >= 2.9.0, < 2.9.2
- Fixed in
- 2.9.2
- Check
go list -m github.com/grafana/tempo
github.com/grafana/tempo
- Ecosystem
- Go
- Affected
- >= 2.10.0, < 2.10.2
- Fixed in
- 2.10.2
- Check
go list -m github.com/grafana/tempo
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Tempo queries with large limits can cause large memory allocations which can impact the availability of the service, depending on its deployment strategy.
Mitigation can be done by setting max_result_limit in the search config, e.g. to 262144 (2^18).
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-21728
- https://grafana.com/security/security-advisories/cve-2026-21728
- https://github.com/grafana/tempo/pull/6525
- https://github.com/grafana/tempo/commit/650eb1985a0776789c8564122990f588a742356f
- https://github.com/grafana/tempo/blob/4dc3e5b0d3463a0b67498b662b85a148698b4afd/docs/sources/tempo/release-notes/version-2/v2-10.md?plain=1#L328
- https://github.com/grafana/tempo/blob/4dc3e5b0d3463a0b67498b662b85a148698b4afd/docs/sources/tempo/release-notes/version-2/v2-8.md?plain=1#L251
- https://github.com/grafana/tempo/blob/4dc3e5b0d3463a0b67498b662b85a148698b4afd/docs/sources/tempo/release-notes/version-2/v2-9.md?plain=1#L224
- https://github.com/advisories/GHSA-p4r4-xvrq-gvmc
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
