CVE-2026-27878: Github.com/grafana/tempo Grafana Tempo Vulnerable To An Vulnerability

MODERATE
Advisory Identifier: GHSA-6xff-cpcq-vpw2
CVSS 6.5
CWE-400
Published
Advisory Summary

CVE-2026-27878 is a MODERATE (CVSS 6.5) grafana tempo vulnerable to an vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Github.com/grafana/tempo libraries in the Go ecosystem. The issue involves grafana tempo vulnerable to an out-of-memory crash. Remediation is available by upgrading affected packages to version 1.5.1-0.20260303204923-b13f74291d48.

CVE-2026-27878 at a Glance

CVE Identifier CVE-2026-27878
GHSA Identifier GHSA-6xff-cpcq-vpw2
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product Github.com/grafana/tempo
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2026-27878

To remediate this vulnerability, upgrade all affected Github.com/grafana/tempo dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/grafana/tempo fixed: 1.5.1-0.20260303204923-b13f74291d48
Upgrade github.com/grafana/tempo to 1.5.1-0.20260303204923-b13f74291d48
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/grafana/tempo

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-27878, inspect your project dependencies for Github.com/grafana/tempo:

inspect dependencies for github.com/grafana/tempo

Analyze the terminal output to locate any version of Github.com/grafana/tempo in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.5.1-0.20260303204923-b13f74291d48), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Github.com/grafana/tempo, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

CVE-2026-27878 Affected Github.com/grafana/tempo Versions

1 component(s)
Fixed Versions:
1.5.1-0.20260303204923-b13f74291d48
Product / Package Ecosystem Affected Versions Fixed Version
github.com/grafana/tempo
Go
< 1.5.1-0.20260303204923-b13f74291d48
1.5.1-0.20260303204923-b13f74291d48

References

Frequently Asked Questions

What is CVE-2026-27878?
CVE-2026-27878 is a security vulnerability in Github.com/grafana/tempo involving Grafana Tempo vulnerable to an out-of-memory crash under CWE-400: Uncontrolled Resource Consumption.
Which Github.com/grafana/tempo versions are affected?
Affected versions include releases prior to 1.5.1-0.20260303204923-b13f74291d48 across affected packages: github.com/grafana/tempo.
What version fixes CVE-2026-27878?
Upgrading to 1.5.1-0.20260303204923-b13f74291d48 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/grafana/tempo affected?
Yes, github.com/grafana/tempo is affected in releases prior to 1.5.1-0.20260303204923-b13f74291d48. Upgrade your dependency to 1.5.1-0.20260303204923-b13f74291d48 or later.
What is the CVSS score of CVE-2026-27878?
CVE-2026-27878 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2026-27878?
CVE-2026-27878 is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check Go dependencies for CVE-2026-27878?
Run the dependency tree command: 'inspect dependencies for github.com/grafana/tempo'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-6xff-cpcq-vpw2",
  "modified" : "2026-08-28T21:50:55Z",
  "published" : "2026-06-19T21:32:47Z",
  "aliases" : [ "CVE-2026-27878" ],
  "summary" : "Grafana Tempo vulnerable to an out-of-memory crash",
  "details" : "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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/grafana/tempo"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.5.1-0.20260303204923-b13f74291d48"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-27878"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/grafana/tempo/pull/6559"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/grafana/tempo/pull/6646"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/grafana/tempo/pull/6792"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/grafana/tempo/pull/6802"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/grafana/tempo/commit/3d7c78d438890991df594c20ae2031f8934aba3b"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/grafana/tempo/commit/b13f74291d489672601a10297f8fbcbf7dd19192"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/grafana/tempo/commit/b481ae9693f99785691197915066e6306950fa09"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/grafana/tempo/commit/e2d51b786aff94de3319c07994c6a5539b121eb5"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/grafana/tempo"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/grafana/tempo/releases/tag/v2.10.2"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/grafana/tempo/releases/tag/v2.8.4"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/grafana/tempo/releases/tag/v2.9.2"
  }, {
    "type" : "WEB",
    "url" : "https://grafana.com/security/security-advisories/cve-2026-27878"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-400" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-08-28T21:50:55Z",
    "nvd_published_at" : "2026-06-19T19:16:34Z"
  }
}