CVE-2026-42129 — Vulnerability in github.com/grafana/grafana
Grafana Loki datasource plugin's callResource handler contains a path traversal vulnerability.
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.44%). Schedule for your next planned update.
Does your project use an affected github.com/grafana/grafana version?
Paste your go.sum to check it for CVE-2026-42129 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published June 22, 2026 (157 days ago).
- Last revised September 28, 2026 — 98 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/grafana/grafana@v1.9.2-0.20260616075434-82ef13993059
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (6)
Affects 1 ecosystem: Go (1).
| Package | Fixed In |
|---|---|
| github.com/grafana/grafana Go · Affected: All versions | Range-based data available |
| github.com/grafana/grafana Go · Affected: All versions | Range-based data available |
| github.com/grafana/grafana Go · Affected: All versions | 1.9.2-0.20260616075434-82ef13993059 |
| github.com/grafana/grafana Go · Affected: All versions | Range-based data available |
| github.com/grafana/grafana Go · Affected: All versions | Range-based data available |
| github.com/grafana/grafana Go · Affected: All versions | Range-based data available |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-22Path TraversalMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.7 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-42129ADVISORY
- https://github.com/grafana/grafana/commit/3fcdbc5a6e5c955bd42bd3715dd03cbad2b078c1WEB
- https://github.com/grafana/grafana/commit/42cdc39124912a8506a0c613c319c345aa950b29WEB
- https://github.com/grafana/grafana/commit/82ef13993059351bf21de35b8488bbd9b42df4f4WEB
- https://github.com/grafana/grafana/commit/d27d2eba9c509d16f214d290436a6ad0bd9c6c01WEB
- https://github.com/grafana/grafana/commit/dd5dc51681ff0133ddb2e206c2ea318713aeca16WEB
- https://github.com/grafana/grafana/commit/eeb08ceb020c4381242d8400e5878044e9877505WEB
- https://github.com/grafana/grafana/commit/f70d3e480274a5dbd12006338c393f4b05d441caWEB
- https://github.com/grafana/grafanaPACKAGE
- https://github.com/grafana/grafana/releases/tag/v11.6.15WEB
- https://github.com/grafana/grafana/releases/tag/v12.2.9WEB
- https://github.com/grafana/grafana/releases/tag/v12.3.7WEB
- https://github.com/grafana/grafana/releases/tag/v12.4.4WEB
- https://github.com/grafana/grafana/releases/tag/v13.0.2WEB
- https://grafana.com/security/security-advisories/cve-2026-42129WEB
Frequently Asked Questions
- What is CVE-2026-42129?
- Grafana Loki datasource plugin's callResource handler contains a path traversal vulnerability. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.7/10).
- How do I check if my project is affected by CVE-2026-42129?
- CVE-2026-42129 affects github.com/grafana/grafana. It has a 0.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-42129 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 30.4% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2020-12459
Grafana world readable configuration files in github.com/grafana/grafana
- CVE-2020-24303
Grafana XSS via a query alias for the ElasticSearch datasource in github.com/grafana/grafana
- CVE-2020-11110
Grafana stored XSS in github.com/grafana/grafana
- CVE-2024-1442
Grafana's users with permissions to create a data source can CRUD all data sources in github.com/grafana/grafana
- CVE-2019-19499
Arbitrary file read in github.com/grafana/grafana
- CVE-2024-1313
Grafana: Users outside an organization can delete a snapshot with its key in github.com/grafana/grafana
- CVE-2026-33381
Grafana: Users can generate Service Account tokens after permissions removal in github.com/grafana/grafana
- CVE-2026-21727
Grafana legacy correlations allow cross-tenant disclosure and deletion in github.com/grafana/grafana