Skip to main content

CVE-2026-42129 — Vulnerability in github.com/grafana/grafana

HIGH

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

Published June 22, 2026Updated September 28, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.44%). Schedule for your next planned update.

Does your project use an affected github.com/grafana/grafana version?

Paste your go.sum to check it for CVE-2026-42129 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my go.sum

Summary

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.

Advisory Timeline

  • First published June 22, 2026 (157 days ago).
  • Last revised September 28, 2026 — 98 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update github.com/grafana/grafana to 1.9.2-0.20260616075434-82ef13993059 or later
go get github.com/grafana/grafana@v1.9.2-0.20260616075434-82ef13993059

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (6)

Affects 1 ecosystem: Go (1).

PackageFixed In
github.com/grafana/grafana Go · Affected: All versionsRange-based data available
github.com/grafana/grafana Go · Affected: All versionsRange-based data available
github.com/grafana/grafana Go · Affected: All versions1.9.2-0.20260616075434-82ef13993059
github.com/grafana/grafana Go · Affected: All versionsRange-based data available
github.com/grafana/grafana Go · Affected: All versionsRange-based data available
github.com/grafana/grafana Go · Affected: All versionsRange-based data available

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.7 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

Frequently Asked Questions

What is CVE-2026-42129?
Grafana Loki datasource plugin's callResource handler contains a path traversal vulnerability. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.7/10).
How do I check if my project is affected by CVE-2026-42129?
CVE-2026-42129 affects github.com/grafana/grafana. It has a 0.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-42129 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.7

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.44%
EPSS percentile: 30.4

This is a below-median EPSS score — only 30.4% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-f74p-cwhp-x2wx
GO-2026-6544

Related CVEs

  • CVE-2020-12459

    Grafana world readable configuration files in github.com/grafana/grafana

  • CVE-2020-24303

    Grafana XSS via a query alias for the ElasticSearch datasource in github.com/grafana/grafana

  • CVE-2020-11110

    Grafana stored XSS in github.com/grafana/grafana

  • CVE-2024-1442

    Grafana's users with permissions to create a data source can CRUD all data sources in github.com/grafana/grafana

  • CVE-2019-19499

    Arbitrary file read in github.com/grafana/grafana

  • CVE-2024-1313

    Grafana: Users outside an organization can delete a snapshot with its key in github.com/grafana/grafana

  • CVE-2026-33381

    Grafana: Users can generate Service Account tokens after permissions removal in github.com/grafana/grafana

  • CVE-2026-21727

    Grafana legacy correlations allow cross-tenant disclosure and deletion in github.com/grafana/grafana

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my go.sum