Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/grafana/grafana
  4. ›
  5. CVE-2026-42129

CVE-2026-42129: Grafana Loki datasource plugin's callResource handler contains a path traversal vulnerability.

June 22, 2026 (updated September 21, 2026)

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.

References

  • github.com/advisories/GHSA-f74p-cwhp-x2wx
  • github.com/grafana/grafana/commit/3fcdbc5a6e5c955bd42bd3715dd03cbad2b078c1
  • github.com/grafana/grafana/commit/42cdc39124912a8506a0c613c319c345aa950b29
  • github.com/grafana/grafana/commit/82ef13993059351bf21de35b8488bbd9b42df4f4
  • github.com/grafana/grafana/commit/d27d2eba9c509d16f214d290436a6ad0bd9c6c01
  • github.com/grafana/grafana/commit/dd5dc51681ff0133ddb2e206c2ea318713aeca16
  • github.com/grafana/grafana/commit/eeb08ceb020c4381242d8400e5878044e9877505
  • github.com/grafana/grafana/commit/f70d3e480274a5dbd12006338c393f4b05d441ca
  • github.com/grafana/grafana/releases/tag/v11.6.15
  • github.com/grafana/grafana/releases/tag/v12.2.9
  • github.com/grafana/grafana/releases/tag/v12.3.7
  • github.com/grafana/grafana/releases/tag/v12.4.4
  • github.com/grafana/grafana/releases/tag/v13.0.2
  • grafana.com/security/security-advisories/cve-2026-42129
  • nvd.nist.gov/vuln/detail/CVE-2026-42129

Code Behaviors & Features

Detect and mitigate CVE-2026-42129 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.9.2-0.20260616075434-82ef13993059, all versions starting from 2.0.0-beta1 before 11.6.15, all versions starting from 12.0.0 before 12.2.9, all versions starting from 12.3.0 before 12.3.7, all versions starting from 12.4.0 before 12.4.4, all versions starting from 13.0.0 before 13.0.2

Fixed versions

  • 1.9.2-0.20260616075434-82ef13993059
  • 11.6.15
  • 12.2.9
  • 12.3.7
  • 12.4.4
  • 13.0.2

Solution

Upgrade to versions 1.9.2-0.20260616075434-82ef13993059, 11.6.15, 12.2.9, 12.3.7, 12.4.4, 13.0.2 or above.

Impact 7.7 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

go/github.com/grafana/grafana/CVE-2026-42129.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 17 Oct 2026 00:21:59 +0000.