CVE-2026-42129

Path traversal in the Loki data source plugin

Published Jun 22, 2026 CVSS 3.1 · 7.7 High EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-f74p-cwhp-x2wx Grafana Loki datasource plugin's callResource handler contains a path traversal vulnerability.
History
Type Values Removed Values Added
Description 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. 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.
Title Path Traversal in Loki Datasource leads to Internal Information Disclosure Path traversal in the Loki data source plugin
Type Values Removed Values Added
First Time appeared Grafana
Grafana grafana
Grafana loki Datasource
Vendors & Products Grafana
Grafana grafana
Grafana loki Datasource
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-22
Type Values Removed Values Added
Description 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.
Title Path Traversal in Loki Datasource leads to Internal Information Disclosure
References
Metrics cvssV3_1

{'score': 7.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GRAFANA
Published
Updated
Aug 27, 2026, 5:22 PM
Reserved
Apr 24, 2026, 3:38 PM
Status
Modified
Published
Jun 22, 2026, 2:17 PM
Modified
Oct 25, 2026, 11:10 PM