2026-06-22 13:18CVE-2026-42129GRAFANA
PUBLISHED5.2

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.

Affected products

Grafana

Grafana OSS

References

GitHub Security Advisories

GHSA-f74p-cwhp-x2wx

The Loki datasource plugin's callResource handler contains a path traversal vulnerability. An...

https://github.com/advisories/GHSA-f74p-cwhp-x2wx

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.

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-42129
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-42129",
    "assignerOrgId": "57da9224-a3e2-4646-9d0e-c4dc2e05e7da",
    "assignerShortName": "GRAFANA",
    "dateUpdated": "2026-06-22T15:44:43.052Z",
    "dateReserved": "2026-04-24T15:38:08.067Z",
    "datePublished": "2026-06-22T13:18:27.365Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "57da9224-a3e2-4646-9d0e-c4dc2e05e7da",
        "shortName": "GRAFANA",
        "dateUpdated": "2026-06-22T13:18:27.365Z"
      },
      "datePublic": "2026-05-28T15:30:40.066Z",
      "title": "Path Traversal in Loki Datasource leads to Internal Information Disclosure",
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "affected": [
        {
          "vendor": "Grafana",
          "product": "Grafana OSS",
          "platforms": [
            "OnPrem"
          ],
          "defaultStatus": "unaffected"
        }
      ],
      "references": [
        {
          "url": "https://grafana.com/security/security-advisories/cve-2026-42129",
          "tags": [
            "vendor-advisory"
          ]
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "version": "3.1",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N",
            "baseScore": 7.7,
            "baseSeverity": "HIGH"
          }
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "khanmarshal (Researcher)",
          "type": "finder"
        }
      ]
    },
    "adp": [
      {
        "providerMetadata": {
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP",
          "dateUpdated": "2026-06-22T15:44:43.052Z"
        },
        "title": "CISA ADP Vulnrichment",
        "metrics": [
          {}
        ]
      }
    ]
  }
}