{"id":"CVE-2026-42129","aliases":["CVE-2026-42129","GHSA-f74p-cwhp-x2wx","GO-2026-6544"],"related":[],"kind":"vulnerability","state":"published","title":"Path traversal in the Loki data source plugin","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Grafana Loki datasource plugin's callResource handler contains a path traversal vulnerability. in github.com/grafana/grafana.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: github.com/grafana/grafana before v1.9.2-0.20260616075434-82ef13993059.","format":"markdown","source":"go"},{"lang":"es","text":"El gestor callResource del plugin de fuente de datos de Loki contiene una vulnerabilidad de salto de ruta. Un usuario autenticado con rol de Visor puede escapar del sandbox de recursos del plugin y acceder a puntos finales administrativos de Loki (p. ej., /config, /services, /ready) para extraer configuración sensible del backend e información de servicio interna.","source":"nvd"}],"published":"2026-06-22T13:18:27.365Z","modified":"2026-10-25T23:10:00.167Z","severity":{"scorer":"GRAFANA","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"GRAFANA","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":7.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":7.7,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"semver","introduced":"11.6.0","lastAffected":"11.6.14","status":"affected"},{"type":"semver","introduced":"12.2.0","lastAffected":"12.2.8","status":"affected"},{"type":"semver","introduced":"12.3.0","lastAffected":"12.3.6","status":"affected"},{"type":"semver","introduced":"12.4.0","lastAffected":"12.4.3","status":"affected"},{"type":"semver","introduced":"13.0.0","lastAffected":"13.0.1","status":"affected"}],"vendor":"Grafana","product":"Grafana OSS","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.0.0-beta1","status":"affected"}],"ecosystem":"Go","package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"12.0.0","status":"affected"}],"ecosystem":"Go","package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"12.3.0","status":"affected"}],"ecosystem":"Go","package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"13.0.0","status":"affected"}],"ecosystem":"Go","package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"12.4.0","status":"affected"}],"ecosystem":"Go","package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.9.2-0.20260616075434-82ef13993059"}],"ecosystem":"Go","package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"go"},{"ranges":[{"type":"semver","introduced":"2.0.0-beta1+incompatible","status":"affected"}],"ecosystem":"Go","package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"go"},{"ranges":[],"vendor":"grafana","product":"loki_datasource","cpe":"cpe:2.3:a:grafana:loki_datasource:-:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://grafana.com/security/security-advisories/cve-2026-42129","tags":["broken-link","vendor-advisory","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42129","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/grafana/grafana/commit/3fcdbc5a6e5c955bd42bd3715dd03cbad2b078c1","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/grafana/grafana/commit/42cdc39124912a8506a0c613c319c345aa950b29","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/grafana/grafana/commit/82ef13993059351bf21de35b8488bbd9b42df4f4","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/grafana/grafana/commit/d27d2eba9c509d16f214d290436a6ad0bd9c6c01","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/grafana/grafana/commit/dd5dc51681ff0133ddb2e206c2ea318713aeca16","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/grafana/grafana/commit/eeb08ceb020c4381242d8400e5878044e9877505","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/grafana/grafana/commit/f70d3e480274a5dbd12006338c393f4b05d441ca","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/grafana/grafana","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/grafana/grafana/releases/tag/v11.6.15","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/grafana/grafana/releases/tag/v12.2.9","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/grafana/grafana/releases/tag/v12.3.7","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/grafana/grafana/releases/tag/v12.4.4","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/grafana/grafana/releases/tag/v13.0.2","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/advisories/GHSA-f74p-cwhp-x2wx","tags":["advisory"],"sources":["go"]}],"credits":["khanmarshal (Researcher)"],"assigner":"GRAFANA","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-22T15:44:32.401Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42129","url":"https://www.cve.org/CVERecord?id=CVE-2026-42129","licence":"CVE Terms of Use","modified":"2026-08-27T17:22:32.860Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-f74p-cwhp-x2wx","url":"https://github.com/advisories/GHSA-f74p-cwhp-x2wx","licence":"CC-BY-4.0","modified":"2026-09-28T17:10:47.137Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-6544","url":"https://pkg.go.dev/vuln/GO-2026-6544","licence":"CC-BY-4.0","modified":"2026-09-28T17:00:25.303Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42129","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42129","licence":"Public domain","modified":"2026-10-25T23:10:00.167Z"}],"updatedAt":"2026-11-25T22:59:25.354Z","epss":{"score":0.00443,"percentile":0.3037,"date":"2026-11-30T12:00:22.000Z"}}