Vulnerability · Published Mar 27, 2026 · Assigned by GRAFANA

CVE-2026-27876RCE on Grafana via sqlExpressions

Critical 9.1

In plain English

A critical-severity code injection in Grafana from Grafana. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.0% (higher than 80% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.1Critical
Exploit odds (30 days)2.0%top 19.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official description

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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.23grafana12.2.8-r0ALPINE-CVE-2026-27876
Alpine:v3.24grafana12.4.3-r0ALPINE-CVE-2026-27876

Affected products (as reported)

VendorProductVersions
Grafana Grafana 11.6.0 – before 11.6.1412.0.0 – before 12.1.1012.2.0 – before 12.2.812.3.0 – before 12.3.612.4.0 – before 12.4.2

Weakness: CWE-94, CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

References