Skip to main content

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

HIGH

Grafana: Pre-authentication denial of service in the public dashboard query handler

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

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.56%). 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-42127 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 public dashboard query endpoint does not limit request body size before processing, allowing unauthenticated attackers to trigger excessive memory allocation by sending arbitrarily large JSON payloads. This can lead to denial of service through memory exhaustion. No valid dashboard access token or authentication is required to exploit this vulnerability.

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.

  • CWE-400
    Uncontrolled Resource ConsumptionMITRE
  • CWE-770
    Allocation of Resources Without LimitsMITRE

CVSS Score Breakdown

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

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

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

Frequently Asked Questions

What is CVE-2026-42127?
Grafana: Pre-authentication denial of service in the public dashboard query handler. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2026-42127?
CVE-2026-42127 affects github.com/grafana/grafana. It has a 0.6% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-42127 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.56%
EPSS percentile: 40.3

This is a below-median EPSS score — only 40.3% 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-3w66-95m3-8jxg
BIT-grafana-2026-42127
GO-2026-6541

Related CVEs

  • CVE-2022-31130

    Grafana Data source and plugin proxy endpoints leaking authentication tokens to some destination plugins in github.com/grafana/grafana

  • CVE-2022-31107

    Grafana account takeover via OAuth vulnerability in github.com/grafana/grafana

  • CVE-2022-36062

    Grafana folders admin only permission privilege escalation in github.com/grafana/grafana

  • CVE-2022-31123

    Grafana Plugin signature bypass in github.com/grafana/grafana

  • CVE-2022-39328

    Grafana Race condition allowing privilege escalation in github.com/grafana/grafana

  • CVE-2022-31097

    Grafana Stored Cross-site Scripting in Unified Alerting in github.com/grafana/grafana

  • CVE-2022-39201

    Grafana Data source and plugin proxy endpoints could leak the authentication cookie to some destination plugins in github.com/grafana/grafana

  • CVE-2022-39324

    Grafana Spoofing originalUrl of snapshots in github.com/grafana/grafana

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my go.sum