Executive brief
A security vulnerability exists in the Loki data connector for Grafana, a popular tool used for monitoring and visualizing system logs. An authorized user with basic viewing permissions can bypass security restrictions to access sensitive administrative settings and internal service details. This could lead to the exposure of backend configurations and other confidential infrastructure information.
Technical details
A path traversal vulnerability exists in the 'callResource' handler of the Grafana Loki datasource plugin. The flaw allows an authenticated user with the 'Viewer' role to escape the plugin's intended resource sandbox via manipulated requests. By exploiting this, an attacker can reach internal administrative Loki endpoints such as /config, /services, and /ready. Successful exploitation results in the unauthorized extraction of sensitive backend configuration data and internal service metadata. The vulnerability is reachable over the network and requires low privileges but no user interaction.
Affected products
- Grafana Labs Grafana OSS
Timeline
- 2026-06-22: disclosed
- 2026-06-22: advisory