GHSA-9493-h4f5-633x

Grafana: Path traversal in the Tempo and Loki data source plugins

At a glance

Published
Updated
CVE
CVE-2026-10601
Aliases
BIT-grafana-2026-10601, GO-2026-6545
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L

Description

The Tempo and Loki datasource plugins construct backend HTTP requests by interpolating user-supplied input into URL paths without sanitization, enabling path traversal. A Viewer-role user can: (1) capture admin-configured datasource credentials (secureJsonData custom headers) by traversing to an attacker-controlled endpoint, (2) invoke state-changing admin endpoints on Tempo (e.g. /flush, /shutdown), and (3) exfiltrate internal service data via Loki's CallResource which returns full HTTP response bodies.

Affected packages

PackageVersions
Go · github.com/grafana/grafanaintroduced 2.0.0-beta1
Go · github.com/grafana/grafanaintroduced 12.0.0
Go · github.com/grafana/grafanaintroduced 12.3.0
Go · github.com/grafana/grafanaintroduced 13.0.0
Go · github.com/grafana/grafanaintroduced 12.4.0
Go · github.com/grafana/grafanaintroduced 0, fixed 1.9.2-0.20260616075434-82ef13993059

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database