CVE-2026-42129
HIGH 7.7CVSS 3.1Grafana Loki datasource plugin's callResource handler contains a path traversal vulnerability.
A user with Viewer permissions can use a path traversal in the Loki data source plugin to reach administrative Loki endpoints and read sensitive backend configuration and internal service information.
- Published
- 22 Jun 2026
- Last modified
- 25 Oct 2026
- Assigned by
- security@grafana.com
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-f74p-cwhp-x2wxGO-2026-6544
- Sources
- NVDJSONOSV GHSA-f74p-cwhp-x2wxJSONOSV GO-2026-6544JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@grafana.com (Secondary) | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | grafana | loki_datasourcecpe:2.3:a:grafana:loki_datasource:-:*:*:*:*:*:*:* |
(no version) | |
| OSV | Go | github.com/grafana/grafana | >= 2.0.0-beta1 | |
| OSV | Go | github.com/grafana/grafana | >= 12.0.0 | |
| OSV | Go | github.com/grafana/grafana | >= 12.3.0 | |
| OSV | Go | github.com/grafana/grafana | >= 13.0.0 | |
| OSV | Go | github.com/grafana/grafana | >= 12.4.0 | |
| OSV | Go | github.com/grafana/grafana | < 1.9.2-0.20260616075434-82ef13993059 | 1.9.2-0.20260616075434-82ef13993059 |
| OSV | Go | github.com/grafana/grafana | all versions | |
| OSV | Go | github.com/grafana/grafana | >= 2.0.0-beta1+incompatible |
References
- https://grafana.com/security/security-advisories/cve-2026-42129 · Broken Link, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-42129 · ADVISORY
- https://github.com/grafana/grafana/commit/3fcdbc5a6e5c955bd42bd3715dd03cbad2b078c1 · WEB, FIX
- https://github.com/grafana/grafana/commit/42cdc39124912a8506a0c613c319c345aa950b29 · WEB, FIX
- https://github.com/grafana/grafana/commit/82ef13993059351bf21de35b8488bbd9b42df4f4 · WEB, FIX
- https://github.com/grafana/grafana/commit/d27d2eba9c509d16f214d290436a6ad0bd9c6c01 · WEB, FIX
- https://github.com/grafana/grafana/commit/dd5dc51681ff0133ddb2e206c2ea318713aeca16 · WEB, FIX
- https://github.com/grafana/grafana/commit/eeb08ceb020c4381242d8400e5878044e9877505 · WEB, FIX
- https://github.com/grafana/grafana/commit/f70d3e480274a5dbd12006338c393f4b05d441ca · WEB, FIX
- 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://github.com/advisories/GHSA-f74p-cwhp-x2wx · ADVISORY
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 22 Jun 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Sep 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 22 Jun 2026)