---
id: CVE-2026-21727
title: >-
  A cross-tenant isolation vulnerability was found in Grafana’s Correlations
  feature affecting legacy correlation records
summary: >-
  A cross-tenant isolation vulnerability was found in Grafana’s Correlations
  feature affecting legacy correlation records. Due to a backward compatibility
  condition allowing org_id = 0 records to be returned across organizations, a
  user wi…
severity: low
cvss: 3.3
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N'
cwe:
  - CWE-732
vendor: grafana
product: grafana
affected:
  - grafana < 11.6.11
  - 'grafana >= 12.0.0, < 12.0.9'
  - 'grafana >= 12.1.0, < 12.1.6'
  - 'grafana >= 12.2.0, < 12.2.4'
  - 'grafana >= 12.3.0, < 12.3.3'
patched:
  - grafana 12.3.3
published: '2026-04-15'
updated: '2026-08-19'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-21727'
references:
  - url: 'https://grafana.com/security/security-advisories/cve-2026-21727'
    label: security@grafana.com
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-21727'
  - url: >-
      https://github.com/grafana/grafana/commit/2b2847625b8a77ba47128ccb5ecbcd72542cb9bc
  - url: >-
      https://github.com/grafana/grafana/commit/2cf0dd6fde3f5a2b92864e2376ae5378c7df45e2
  - url: >-
      https://github.com/grafana/grafana/commit/4010ee30bb441bc399a1f37bdc8ab55ec909f3b7
  - url: >-
      https://github.com/grafana/grafana/commit/8e7ea333991d913298bd68d4787da9c6977a0a8c
  - url: >-
      https://github.com/grafana/grafana/commit/a9a98fc4327182d1bdb9a74b5c2938d5c127e764
  - url: >-
      https://github.com/grafana/grafana/commit/e702db6096e0509ff2825f732697f077e9e6289f
  - url: 'https://github.com/advisories/GHSA-p5x9-j974-rpfp'
  - url: 'https://github.com/grafana/grafana'
tags:
  - nvd
  - ghsa
  - go
  - osv
epss: 0.00204
epssPercentile: 0.10297
ingestedAt: '2026-08-20T17:59:04.943Z'
aliases:
  - GHSA-p5x9-j974-rpfp
  - BIT-grafana-2026-21727
  - GO-2026-6664
ecosystem: go
---

## Overview

A cross-tenant isolation vulnerability was found in Grafana’s Correlations feature affecting legacy correlation records. Due to a backward compatibility condition allowing org_id = 0 records to be returned across organizations, a user with datasource management privileges could read and permanently delete legacy correlation data belonging to another organization. This issue affects correlations created prior to Grafana 10.2 and is fixed in >=11.6.11, >=12.0.9, >=12.1.6, and >=12.2.4.

Thanks to Gyu-hyeok Lee (g2h) for reporting this vulnerability.

## Affected

- `grafana < 11.6.11`
- `grafana >= 12.0.0, < 12.0.9`
- `grafana >= 12.1.0, < 12.1.6`
- `grafana >= 12.2.0, < 12.2.4`
- `grafana >= 12.3.0, < 12.3.3`

## Remediation

Upgrade past the affected range:

- `grafana 12.3.3`

## Package advisory (CVE-2026-21727)

Affected packages:

- `github.com/grafana/grafana < 1.9.2-0.20260127141016-e702db6096e0`

Patched in:

- `github.com/grafana/grafana 1.9.2-0.20260127141016-e702db6096e0`

Source: https://github.com/advisories/GHSA-p5x9-j974-rpfp
