CVE-2026-42129: Grafana Loki datasource plugin path traversal in callResource handler

CVE-2026-42129 · Severity: high · CVSS 7.7 · Published 2026-06-22

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.

Technologies: github.com/grafana/grafana (Go), Grafana Labs Grafana OSS. Vendors: Go, Grafana Labs.

Quick answers

Is CVE-2026-42129 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-42129 being exploited in the wild.
How severe is CVE-2026-42129?
High severity, with a CVSS score of 7.7, published 22 June 2026.
Which products and versions are affected?
github.com/grafana/grafana (Go) SEMVER:introduced=0, SEMVER:introduced=2.0.0-beta1.
Is there a fix for CVE-2026-42129?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-42129 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-42129?
Check whether you run github.com/grafana/grafana (Go) or Grafana Labs Grafana OSS at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

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

Identifiers

  • CVE-2026-42129
  • GHSA-f74p-cwhp-x2wx
  • GO-2026-6544

Timeline

  • 2026-06-22: disclosed
  • 2026-06-22: advisory

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.