---
id: CVE-2026-42127
title: >-
  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
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 serv…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-400
  - CWE-770
vendor: grafana
product: grafana
affected:
  - grafana <= 11.6.14
  - 'grafana >= 12.2.0, <= 12.2.8'
  - 'grafana >= 12.3.0, <= 12.3.6'
  - 'grafana >= 12.4.0, <= 12.4.3'
  - 'grafana >= 13.0.0, <= 13.0.1'
published: '2026-06-22'
updated: '2026-07-10'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-42127'
references:
  - url: 'https://grafana.com/security/security-advisories/cve-2026-42127'
    label: security@grafana.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42127.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-42127'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2491449'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-42127'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-42127'
  - url: 'https://access.redhat.com/errata/RHSA-2026:54178'
  - url: 'https://access.redhat.com/errata/RHSA-2026:67517'
  - url: 'https://access.redhat.com/errata/RHSA-2026:67518'
  - url: 'https://access.redhat.com/errata/RHSA-2026:54243'
  - url: 'https://access.redhat.com/errata/RHSA-2026:54184'
  - url: 'https://github.com/grafana/grafana/pull/125789'
  - url: >-
      https://github.com/grafana/grafana/commit/82ef13993059351bf21de35b8488bbd9b42df4f4
  - url: 'https://github.com/grafana/grafana/releases/tag/v11.6.15'
  - url: 'https://github.com/grafana/grafana/releases/tag/v12.2.9'
  - url: 'https://github.com/grafana/grafana/releases/tag/v12.3.7'
  - url: 'https://github.com/grafana/grafana/releases/tag/v12.4.4'
  - url: 'https://github.com/grafana/grafana/releases/tag/v13.0.2'
  - url: 'https://github.com/advisories/GHSA-3w66-95m3-8jxg'
  - url: 'https://github.com/grafana/grafana'
  - url: 'https://access.redhat.com/errata/RHSA-2026:47619'
  - url: 'https://access.redhat.com/errata/RHSA-2026:47618'
  - url: 'https://access.redhat.com/errata/RHSA-2026:68778'
tags:
  - nvd
  - csaf
  - vex
  - red-hat
  - ghsa
  - go
  - osv
epss: 0.00432
epssPercentile: 0.34933
ingestedAt: '2026-07-11T13:13:24.734Z'
patched:
  - enterprise_linux_appstream_v_10
aliases:
  - GHSA-3w66-95m3-8jxg
  - BIT-grafana-2026-42127
ecosystem: go
---

## Overview

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.

## Affected

- `grafana <= 11.6.14`
- `grafana >= 12.2.0, <= 12.2.8`
- `grafana >= 12.3.0, <= 12.3.6`
- `grafana >= 12.4.0, <= 12.4.3`
- `grafana >= 13.0.0, <= 13.0.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **RHSA-2026:54178** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 10) · released 2026-08-12 · [advisory](https://access.redhat.com/errata/RHSA-2026:54178)
- **Red Hat VEX** · Important · affected: Multicluster Global Hub, Red Hat Advanced Cluster Management for Kubernetes 2, Red Hat Ceph Storage 5, Red Hat Ceph Storage 6, Red Hat Ceph Storage 7, Red Hat Ceph Storage 8, … · no fix planned: Red Hat Ceph Storage 5, Red Hat Ceph Storage 6, Red Hat Ceph Storage 7, Red Hat Ceph Storage 8, … · updated 2026-09-23 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42127.json)
- **RHSA-2026:67517** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream EUS (v. 10.0) · released 2026-09-15 · [advisory](https://access.redhat.com/errata/RHSA-2026:67517)
- **RHSA-2026:67518** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream EUS (v.9.6) · released 2026-09-15 · [advisory](https://access.redhat.com/errata/RHSA-2026:67518)
- **RHSA-2026:54243** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 8) · released 2026-08-12 · [advisory](https://access.redhat.com/errata/RHSA-2026:54243)
- **RHSA-2026:54184** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 9) · released 2026-08-12 · [advisory](https://access.redhat.com/errata/RHSA-2026:54184)
- **RHSA-2026:47619** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-07-28 · [advisory](https://access.redhat.com/errata/RHSA-2026:47619)
- **RHSA-2026:47618** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-07-28 · [advisory](https://access.redhat.com/errata/RHSA-2026:47618)
- **RHSA-2026:68778** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-09-17 · [advisory](https://access.redhat.com/errata/RHSA-2026:68778)

## Package advisory (CVE-2026-42127)

Affected packages:

- `github.com/grafana/grafana >= 2.0.0-beta1, < 11.6.15`
- `github.com/grafana/grafana >= 12.0.0, < 12.2.9`
- `github.com/grafana/grafana >= 12.3.0, < 12.3.7`
- `github.com/grafana/grafana >= 12.4.0, < 12.4.4`
- `github.com/grafana/grafana >= 13.0.0, < 13.0.2`
- `github.com/grafana/grafana < 1.9.2-0.20260616075434-82ef13993059`

Patched in:

- `github.com/grafana/grafana 1.9.2-0.20260616075434-82ef13993059`

Source: https://github.com/advisories/GHSA-3w66-95m3-8jxg
