Grafana: Path traversal in the Tempo and Loki data source plugins
GHSA-9493-h4f5-633x · BIT-grafana-2026-10601 · CVE-2026-10601
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
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.
References
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-10601
- WEB https://github.com/grafana/grafana/pull/125789
- WEB https://github.com/grafana/grafana/commit/3fcdbc5a6e5c955bd42bd3715dd03cbad2b078c1
- WEB https://github.com/grafana/grafana/commit/42cdc39124912a8506a0c613c319c345aa950b29
- WEB https://github.com/grafana/grafana/commit/82ef13993059351bf21de35b8488bbd9b42df4f4
- WEB https://github.com/grafana/grafana/commit/d27d2eba9c509d16f214d290436a6ad0bd9c6c01
- WEB https://github.com/grafana/grafana/commit/dd5dc51681ff0133ddb2e206c2ea318713aeca16
- WEB https://github.com/grafana/grafana/commit/f70d3e480274a5dbd12006338c393f4b05d441ca
- PACKAGE https://github.com/grafana/grafana
- WEB https://github.com/grafana/grafana/releases/tag/v11.6.15
- WEB https://github.com/grafana/grafana/releases/tag/v12.2.9
- WEB https://github.com/grafana/grafana/releases/tag/v12.3.7
- WEB https://github.com/grafana/grafana/releases/tag/v12.4.4
- WEB https://github.com/grafana/grafana/releases/tag/v13.0.2
- WEB https://grafana.com/security/security-advisories/cve-2026-10601
Ready to move
Start Securing
Free, no credit card | First findings in minutes