CVE-2026-27878: Tempo TraceQL query with exemplar hint could result in unbounded memory usage

Published Jun 19, 2026
·
Updated

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.

Affected Software

4 affected components
Grafana Tempo
Grafana Tempo>=2.6.0<2.8.4
Grafana Tempo>=2.9.0<2.9.2
Grafana Tempo>=2.10.0<2.10.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Restrict access to the Tempo service and its TraceQL query endpoints to trusted networks and users. Enforce network-level controls (firewall, ACLs, VPN) so only authorized IP ranges or internal networks can reach Tempo, and apply least-privilege access for authenticated accounts that can run TraceQL queries.

  2. Compensating control

    Apply external protections to limit the impact of potentially expensive TraceQL queries: implement query rate-limiting and enforce query timeouts at the API/gateway or reverse proxy layer, and apply host/container memory limits and restart policies so a single query cannot consume unbounded memory and crash the service.

  3. Operational

    Monitor Tempo memory usage and query activity closely; configure alerts for elevated memory usage or OOM events and ensure automated recovery (process/container restart) and on-call procedures are in place to respond to denial-of-service conditions.

Event History

Jun 19, 2026
CVE Published
via MITRE·07:02 PM
Data Sourced
via MITRE·07:02 PM
DescriptionSeverity
Data Sourced
via NVD·07:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-27878?

The severity of CVE-2026-27878 is medium with a score of 6.5.

2

How does CVE-2026-27878 affect Grafana Tempo?

CVE-2026-27878 can cause Grafana Tempo to allocate excessive memory, leading to potential out-of-memory crashes.

3

What is the risk associated with CVE-2026-27878?

The risk associated with CVE-2026-27878 is rated at 38, indicating a denial of service potential for authenticated users.

4

How do I mitigate CVE-2026-27878?

Mitigation for CVE-2026-27878 involves limiting the size of exemplar hint values in TraceQL queries.

5

Who is affected by CVE-2026-27878?

Authenticated users of Grafana Tempo can exploit CVE-2026-27878 to trigger a denial of service.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203