CVE-2026-42129: Path traversal in the Loki data source plugin
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.
Security readout for executives and security teams
Plain-English summary
CVE-2026-42129 lets a Grafana user with only Viewer permissions abuse path traversal in the Loki data source plugin to access administrative Loki endpoints. The reported impact is exposure of sensitive backend configuration and internal service information. This is a confidentiality issue, not described as code execution or service disruption.
Executive priority
Treat this as a high-priority confidentiality issue for Grafana environments using Loki. It can expose sensitive operational details to low-privileged users. Prioritize validation and vendor-directed remediation, especially where Viewer access is widely granted.
Technical view
Grafana OSS versions 11.6.0, 12.2.0, 12.3.0, 12.4.0, and 13.0.0 are listed as affected. The flaw is CWE-22 path traversal in the Loki data source plugin. CVSS is 7.7: network reachable, low complexity, low privileges required, no user interaction, scope changed, high confidentiality impact.
Likely exposure
Exposure is most likely where Grafana OSS uses the Loki data source plugin and untrusted or broad Viewer access exists. The source bundle lists specific affected Grafana versions and marks default status as unaffected outside those versions.
Exploitation context
The CVE record does not indicate CISA KEV listing, and the provided sources do not state active exploitation. The attacker must already have Viewer permissions in Grafana. The known impact is reading sensitive Loki backend configuration and internal service information.
Researcher notes
Evidence is limited to the CVE bundle and Grafana advisory reference. No exploit details, patch versions, or active exploitation claims are included in the provided data. Avoid assuming impact beyond sensitive configuration and internal service information disclosure.
Mitigation direction
Check Grafana’s advisory for fixed versions and official remediation.
Prioritize upgrading affected Grafana OSS versions per vendor guidance.
Review and reduce unnecessary Viewer access to Grafana instances.
Limit exposure of Grafana to trusted networks where feasible.
Monitor for unexpected access to Loki administrative endpoints.
Validation and detection
Inventory Grafana OSS versions in use.
Identify deployments using the Loki data source plugin.
Confirm whether listed affected versions are present.
Review Grafana roles for broad Viewer access.
Check logs for unusual Loki administrative endpoint access.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-22: File access and web shell behavior lookup
File traversal and upload weaknesses can lead teams to review file, web shell, execution, and collection telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-22 · source CWE mapping
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.