cbcvebase.
CVE-2026-27876
published 2026-03-27

CVE-2026-27876: A chained attack via SQL Expressions and a Grafana Enterprise plugin can lead to a remote arbitrary code execution impact (RCE). This is enabled by a feature…

PriorityP262critical9.1CVSS 3.1
AVNACLPRHUINSCCHIHAH
EPSS
1.93%
77.5th percentile
A chained attack via SQL Expressions and a Grafana Enterprise plugin can lead to a remote arbitrary code execution impact (RCE). This is enabled by a feature in Grafana (OSS), so all users are always recommended to update to avoid future attack vectors going this path. Only instances with the sqlExpressions feature toggle enabled are vulnerable. Only instances in the following version ranges are affected: - 11.6.0 (inclusive) to 11.6.14 (exclusive): 11.6.14 has the fix. 11.5 and below are not affected. - 12.0.0 (inclusive) to 12.1.10 (exclusive): 12.1.10 has the fix. 12.0 did not receive an update, as it is end-of-life. - 12.2.0 (inclusive) to 12.2.8 (exclusive): 12.2.8 has the fix. - 12.3.0 (inclusive) to 12.3.6 (exclusive): 12.3.6 has the fix. - 12.4.0 (inclusive) to 12.4.2 (exclusive): 12.4.2 has the fix. 13.0.0 and above also have the fix: no v13 release is affected.

Affected

10 ranges
VendorProductVersion rangeFixed in
grafanagrafana< 11.6.011.6.0
grafanagrafana>= 11.6.0 < 11.6.1411.6.14
grafanagrafana>= 11.6.14 < 12.0.012.0.0
grafanagrafana>= 12.0.0 < 12.1.1012.1.10
grafanagrafana>= 12.1.10 < 12.2.012.2.0
grafanagrafana>= 12.2.0 < 12.2.812.2.8
grafanagrafana>= 12.2.8 < 12.3.012.3.0
grafanagrafana>= 12.3.0 < 12.3.612.3.6
grafanagrafana>= 12.3.6 < 12.4.012.4.0
grafanagrafana>= 12.4.0 < 12.4.212.4.2

Detection & IOCsextracted from sources · hover to see the quote

  • The attack chain requires the `sqlExpressions` feature toggle to be enabled in Grafana. Instances without this toggle are not vulnerable.
  • Vulnerable Grafana version range: 11.6.0 up to (not including) 11.6.14. Monitor for exploitation attempts against these versions.
  • Vulnerable Grafana version range: 12.0.0 up to (not including) 12.1.10.
  • Vulnerable Grafana version range: 12.2.0 up to (not including) 12.2.8.
  • Vulnerable Grafana version range: 12.3.0 up to (not including) 12.3.6.
  • Vulnerable Grafana version range: 12.4.0 up to (not including) 12.4.2.
  • The attack is a chained exploit: SQL Expressions feature (OSS) combined with a Grafana Enterprise plugin leads to RCE. Detection should focus on anomalous SQL Expression usage in conjunction with Enterprise plugin activity.
  • ·Only Grafana instances with the `sqlExpressions` feature toggle explicitly enabled are vulnerable to this CVE. Instances without this toggle are not affected regardless of version.
  • ·The RCE impact requires both the Grafana OSS sqlExpressions feature AND a Grafana Enterprise plugin to be present. OSS-only deployments without the Enterprise plugin may have a reduced attack surface.
  • ·Red Hat Enterprise Linux 8, 9, and 10 packages of Grafana are listed as Not Affected.
  • ·Grafana 12.0 is end-of-life and did not receive a patch. Instances on 12.0.x remain permanently vulnerable if the sqlExpressions toggle is enabled.

CVSS provenance

nvdv3.19.1CRITICALCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
osv9.1CRITICAL
vendor_redhat9.1CRITICAL
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.