Grafana Loki Datasource Plugin Path Traversal (callResource)
CVE-2026-42129 Published on June 22, 2026
Path Traversal in Loki Datasource leads to Internal Information Disclosure
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.
Weakness Type
What is a Directory traversal Vulnerability?
The software uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the software does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
CVE-2026-42129 has been classified to as a Directory traversal vulnerability or weakness.
Products Associated with CVE-2026-42129
Want to know whenever a new CVE is published for Grafana Labs Grafana? stack.watch will email you.