2026-06-22 16:31CVE-2026-42127GRAFANA
PUBLISHED5.2

Grafana pre-auth DoS through arbitrarily large input to public dashboard query handler

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 products

Grafana

Grafana Enterprise

<= 11.6.14 - AFFECTED

<= 12.2.8 - AFFECTED

<= 12.3.6 - AFFECTED

<= 12.4.3 - AFFECTED

<= 13.0.1 - AFFECTED

Grafana OSS

<= 11.6.14 - AFFECTED

<= 12.2.8 - AFFECTED

<= 12.3.6 - AFFECTED

<= 12.4.3 - AFFECTED

<= 13.0.1 - AFFECTED

References

GitHub Security Advisories

GHSA-3w66-95m3-8jxg

The public dashboard query endpoint does not limit request body size before processing, allowing...

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

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.

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-42127
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-42127",
    "assignerOrgId": "57da9224-a3e2-4646-9d0e-c4dc2e05e7da",
    "assignerShortName": "GRAFANA",
    "dateUpdated": "2026-06-22T17:28:35.835Z",
    "dateReserved": "2026-04-24T15:38:08.066Z",
    "datePublished": "2026-06-22T16:31:28.096Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "57da9224-a3e2-4646-9d0e-c4dc2e05e7da",
        "shortName": "GRAFANA",
        "dateUpdated": "2026-06-22T16:31:28.096Z"
      },
      "datePublic": "2026-05-24T15:38:07.115Z",
      "title": "Grafana pre-auth DoS through arbitrarily large input to public dashboard query handler",
      "descriptions": [
        {
          "lang": "en",
          "value": "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": [
        {
          "vendor": "Grafana",
          "product": "Grafana Enterprise",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0",
              "status": "affected",
              "versionType": "semver",
              "lessThanOrEqual": "11.6.14"
            },
            {
              "version": "0",
              "status": "affected",
              "versionType": "semver",
              "lessThanOrEqual": "12.2.8"
            },
            {
              "version": "0",
              "status": "affected",
              "versionType": "semver",
              "lessThanOrEqual": "12.3.6"
            },
            {
              "version": "0",
              "status": "affected",
              "versionType": "semver",
              "lessThanOrEqual": "12.4.3"
            },
            {
              "version": "0",
              "status": "affected",
              "versionType": "semver",
              "lessThanOrEqual": "13.0.1"
            }
          ]
        },
        {
          "vendor": "Grafana",
          "product": "Grafana OSS",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "11.6.0",
              "status": "affected",
              "versionType": "semver",
              "lessThanOrEqual": "11.6.14"
            },
            {
              "version": "12.2.0",
              "status": "affected",
              "versionType": "semver",
              "lessThanOrEqual": "12.2.8"
            },
            {
              "version": "12.3.0",
              "status": "affected",
              "versionType": "semver",
              "lessThanOrEqual": "12.3.6"
            },
            {
              "version": "12.4.0",
              "status": "affected",
              "versionType": "semver",
              "lessThanOrEqual": "12.4.3"
            },
            {
              "version": "13.0.0",
              "status": "affected",
              "versionType": "semver",
              "lessThanOrEqual": "13.0.1"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://grafana.com/security/security-advisories/cve-2026-42127",
          "tags": [
            "vendor-advisory"
          ]
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "version": "3.1",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "baseScore": 7.5,
            "baseSeverity": "HIGH"
          }
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "Charlie Lewis",
          "type": "finder"
        }
      ]
    },
    "adp": [
      {
        "providerMetadata": {
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP",
          "dateUpdated": "2026-06-22T17:28:35.835Z"
        },
        "title": "CISA ADP Vulnrichment",
        "problemTypes": [
          {
            "descriptions": [
              {
                "lang": "en",
                "description": "CWE-770 Allocation of Resources Without Limits or Throttling",
                "cweId": "CWE-770",
                "type": "CWE"
              }
            ]
          }
        ],
        "metrics": [
          {}
        ]
      }
    ]
  }
}