GHSA-9493-h4f5-633xMediumCVSS 5.4

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

Published
June 22, 2026
Last Modified
September 21, 2026

🔗 CVE IDs covered (1)

📋 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 products6

  • go/github.com/grafana/grafana:>= 2.0.0-beta1, < 11.6.15
  • go/github.com/grafana/grafana:>= 12.0.0, < 12.2.9
  • go/github.com/grafana/grafana:>= 12.3.0, < 12.3.7
  • go/github.com/grafana/grafana:>= 13.0.0, < 13.0.2
  • go/github.com/grafana/grafana:>= 12.4.0, < 12.4.4
  • go/github.com/grafana/grafana:< 1.9.2-0.20260616075434-82ef13993059

🔗 References (15)