CVE-2026-27878: Grafana Tempo vulnerable to an out-of-memory crash
A TraceQL query in Grafana Tempo with a large exemplars hint value can cause the Tempo instance to allocate an excessive amount of memory, resulting in an out-of-memory crash. This could allow an authenticated user to trigger a denial of service against the Tempo service.
Published Jun 19, 2026 · Updated Aug 28, 2026
Affected packages
github.com/grafana/tempo
- Ecosystem
- Go
- Affected
- < 1.5.1-0.20260303204923-b13f74291d48
- Fixed in
- 1.5.1-0.20260303204923-b13f74291d48
- Check
go list -m github.com/grafana/tempo
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A TraceQL query in Grafana Tempo with a large exemplars hint value can cause the Tempo instance to allocate an excessive amount of memory, resulting in an out-of-memory crash. This could allow an authenticated user to trigger a denial of service against the Tempo service.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-27878
- https://grafana.com/security/security-advisories/cve-2026-27878
- https://github.com/grafana/tempo/pull/6559
- https://github.com/grafana/tempo/pull/6646
- https://github.com/grafana/tempo/pull/6792
- https://github.com/grafana/tempo/pull/6802
- https://github.com/grafana/tempo/commit/3d7c78d438890991df594c20ae2031f8934aba3b
- https://github.com/grafana/tempo/commit/b13f74291d489672601a10297f8fbcbf7dd19192
- https://github.com/grafana/tempo/commit/b481ae9693f99785691197915066e6306950fa09
- https://github.com/grafana/tempo/commit/e2d51b786aff94de3319c07994c6a5539b121eb5
- https://github.com/grafana/tempo/releases/tag/v2.10.2
- https://github.com/grafana/tempo/releases/tag/v2.8.4
- https://github.com/grafana/tempo/releases/tag/v2.9.2
- https://github.com/advisories/GHSA-6xff-cpcq-vpw2
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
