CVE-2026-21728: Github.com/grafana/tempo Remote Code Execution Vulnerability
HIGHCVE-2026-21728 is a HIGH (CVSS 7.5) remote code execution vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Github.com/grafana/tempo libraries in the Go ecosystem. The issue involves grafana tempo has an uncontrolled resource consumption issue. Remediation is available by upgrading affected packages to version 2.8.4, 2.9.2, 2.10.2.
CVE-2026-21728 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2026-21728
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.
Upgrade github.com/grafana/tempo to 2.8.4
Upgrade github.com/grafana/tempo to 2.9.2
Upgrade github.com/grafana/tempo to 2.10.2
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-21728, 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 2.8.4), 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
CVE-2026-21728 Affected Github.com/grafana/tempo Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/grafana/tempo
|
Go |
≥ 1.3.0
< 2.8.4
|
2.8.4
|
|
github.com/grafana/tempo
|
Go |
≥ 2.9.0
< 2.9.2
|
2.9.2
|
|
github.com/grafana/tempo
|
Go |
≥ 2.10.0
< 2.10.2
|
2.10.2
|
References
Frequently Asked Questions
What is CVE-2026-21728?
Which Github.com/grafana/tempo versions are affected?
What version fixes CVE-2026-21728?
Is github.com/grafana/tempo affected?
What is the CVSS score of CVE-2026-21728?
What CWE is associated with CVE-2026-21728?
How can I check Go dependencies for CVE-2026-21728?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-p4r4-xvrq-gvmc",
"modified" : "2026-05-05T00:24:31Z",
"published" : "2026-04-24T09:30:30Z",
"aliases" : [ "CVE-2026-21728" ],
"summary" : "Grafana Tempo has an Uncontrolled Resource Consumption issue",
"details" : "Tempo queries with large limits can cause large memory allocations which can impact the availability of the service, depending on its deployment strategy.\n\nMitigation can be done by setting max_result_limit in the search config, e.g. to 262144 (2^18).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/grafana/tempo"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.3.0"
}, {
"fixed" : "2.8.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/grafana/tempo"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.9.0"
}, {
"fixed" : "2.9.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/grafana/tempo"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.10.0"
}, {
"fixed" : "2.10.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-21728"
}, {
"type" : "WEB",
"url" : "https://github.com/grafana/tempo/pull/6525"
}, {
"type" : "WEB",
"url" : "https://github.com/grafana/tempo/commit/650eb1985a0776789c8564122990f588a742356f"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/grafana/tempo"
}, {
"type" : "WEB",
"url" : "https://github.com/grafana/tempo/blob/4dc3e5b0d3463a0b67498b662b85a148698b4afd/docs/sources/tempo/release-notes/version-2/v2-10.md?plain=1#L328"
}, {
"type" : "WEB",
"url" : "https://github.com/grafana/tempo/blob/4dc3e5b0d3463a0b67498b662b85a148698b4afd/docs/sources/tempo/release-notes/version-2/v2-8.md?plain=1#L251"
}, {
"type" : "WEB",
"url" : "https://github.com/grafana/tempo/blob/4dc3e5b0d3463a0b67498b662b85a148698b4afd/docs/sources/tempo/release-notes/version-2/v2-9.md?plain=1#L224"
}, {
"type" : "WEB",
"url" : "https://grafana.com/security/security-advisories/cve-2026-21728"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-05T00:24:31Z",
"nvd_published_at" : "2026-04-24T09:16:03Z"
}
}