CVE-2026-27876: RCE on Grafana via sqlExpressions

CVE-2026-27876 affects 175 listed versions of Grafana Labs Grafana in the Dawnsentry catalogue.

9.1CVSS critical
None knownexploitation
2%EPSS (next 30 days)
27 March 2026published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Grafana Labs Grafana

175 of 250 listed versions are affected. Fixed in 12.3.6, 12.2.8, 12.1.10, 11.6.14, 11.6.0. The newest release, 13.3.2, is not affected.

12.3.5 12.3.4 12.3.3 12.3.2+security-01 12.3.2 12.3.1+security-01 12.3.1 12.2.7 12.2.6 12.2.5 12.2.4+security-01 12.2.4 12.2.3+security-01 12.2.3 12.2.2 12.2.1+security-01 12.1.9 12.1.8 12.1.7 12.1.6+security-01 12.1.6 12.1.5+security-01 12.1.5 12.1.4 12.1.3+security-01 12.1.3 12.1.2 12.1.1 12.1.0 12.0.10 12.0.9 12.0.8+security-01 12.0.8 12.0.7 12.0.6+security-01 12.0.6 12.0.5 12.0.4 12.0.3 12.0.2+security-01 12.0.2 12.0.1+security-01 12.0.1 12.0.0+security-01 11.6.13 11.6.12 11.6.11 11.6.10+security-01 11.6.10 11.6.9+security-01 11.6.9 11.6.8 11.6.7 11.5.10 11.5.9 11.5.8 11.5.7 11.5.6+security-01 11.5.6 11.5.5+security-01 and 115 more

What it is

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.

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H (Grafana)

Published by Grafana on 27 March 2026. Last changed 3 November 2026.

Sources

Check one version you run: look CVE-2026-27876 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.