Incorrect Permission Assignment for Critical Resource Affecting github.com/grafana/grafana/pkg/services/correlations package, versions <11.6.11>=12.0.0 <12.0.9>=12.1.0 <12.1.6>=12.2.0 <12.2.4>=12.3.0 <12.3.3


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.2% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMGRAFANAGRAFANAPKGSERVICESCORRELATIONS-16540563
  • published8 May 2026
  • disclosed15 Apr 2026
  • creditGyu-hyeok Lee

Introduced: 15 Apr 2026

CVE-2026-21727  (opens in a new tab)
CWE-732  (opens in a new tab)

How to fix?

Upgrade github.com/grafana/grafana/pkg/services/correlations to version 11.6.11, 12.0.9, 12.1.6, 12.2.4, 12.3.3 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Permission Assignment for Critical Resource in the Correlations feature due to a backward compatibility condition that allows records with org_id=0 to be accessed across organizations. An attacker with datasource management privileges can access and permanently delete correlation data belonging to other organizations by querying or deleting legacy records.

CVSS Base Scores

version 4.0
version 3.1