CVE-2026-42127 — Vulnerability in github.com/grafana/grafana
Grafana: Pre-authentication denial of service in the public dashboard query handler
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.
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 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).
| Package | Fixed In |
|---|---|
| github.com/grafana/grafana Go · Affected: All versions | Range-based data available |
| github.com/grafana/grafana Go · Affected: All versions | Range-based data available |
| github.com/grafana/grafana Go · Affected: All versions | 1.9.2-0.20260616075434-82ef13993059 |
| github.com/grafana/grafana Go · Affected: All versions | Range-based data available |
| github.com/grafana/grafana Go · Affected: All versions | Range-based data available |
| github.com/grafana/grafana Go · Affected: All versions | Range-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.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-42127ADVISORY
- https://github.com/grafana/grafana/pull/125789WEB
- https://github.com/grafana/grafana/commit/82ef13993059351bf21de35b8488bbd9b42df4f4WEB
- https://github.com/grafana/grafanaPACKAGE
- https://github.com/grafana/grafana/releases/tag/v11.6.15WEB
- https://github.com/grafana/grafana/releases/tag/v12.2.9WEB
- https://github.com/grafana/grafana/releases/tag/v12.3.7WEB
- https://github.com/grafana/grafana/releases/tag/v12.4.4WEB
- https://github.com/grafana/grafana/releases/tag/v13.0.2WEB
- https://grafana.com/security/security-advisories/cve-2026-42127WEB
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
Significant impact if exploited, or exploitable with modest effort.
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
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