GHSA-f74p-cwhp-x2wx
Grafana Loki datasource plugin's callResource handler contains a path traversal vulnerability.
Quick fix
GHSA-f74p-cwhp-x2wx — github.com/grafana/grafana: upgrade to the fixed version with the command below.
go get github.com/grafana/grafana@v1.9.2-0.20260616075434-82ef13993059Details
The Loki datasource plugin's callResource handler contains a path traversal vulnerability. An authenticated Viewer-role user can escape the plugin's resource sandbox and access administrative Loki endpoints (e.g. /config, /services, /ready) to extract sensitive backend configuration and internal service information.
Are you affected?
Enter the version of the package you're using.
Affected packages
2.0.0-beta1No fixed version published yet for github.com/grafana/grafana (go modules). Pin to a known-safe version or switch to an alternative.
12.0.0No fixed version published yet for github.com/grafana/grafana (go modules). Pin to a known-safe version or switch to an alternative.
12.3.0No fixed version published yet for github.com/grafana/grafana (go modules). Pin to a known-safe version or switch to an alternative.
13.0.0No fixed version published yet for github.com/grafana/grafana (go modules). Pin to a known-safe version or switch to an alternative.
12.4.0No fixed version published yet for github.com/grafana/grafana (go modules). Pin to a known-safe version or switch to an alternative.
0Fixed in: 1.9.2-0.20260616075434-82ef13993059go get github.com/grafana/grafana@v1.9.2-0.20260616075434-82ef13993059References
- https://nvd.nist.gov/vuln/detail/CVE-2026-42129[ADVISORY]
- 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/eeb08ceb020c4381242d8400e5878044e9877505[WEB]
- https://github.com/grafana/grafana/commit/f70d3e480274a5dbd12006338c393f4b05d441ca[WEB]
- https://github.com/grafana/grafana[PACKAGE]
- 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-42129[WEB]