Skip to content
9.1 Critical

CVE-2026-27876 RCE on Grafana via sqlExpressions

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.

CVSS 3.1 detail

Vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Exploitable remotely over the network, with an administrator account and without any user action; an attacker can seriously compromise confidentiality, integrity or availability.

Attack vector
Network
Attack complexity
Low
Privileges required
High
Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Affected products and versions

Product Affected versions Fixed in
Grafana Enterprise 12.4 12.4.0 → < 12.4.2 12.4.2
Grafana Enterprise 12.3 12.3.0 → < 12.3.6 12.3.6
Grafana Enterprise 12.2 12.2.0 → < 12.2.8 12.2.8
Grafana Enterprise 12.0 12.0.0 → < 12.1.10 12.1.10
Grafana Enterprise 11.6 11.6.0 → < 11.6.14 11.6.14
grafana 12.4 12.4.0 → < 12.4.2 12.4.2
grafana 12.3 12.3.0 → < 12.3.6 12.3.6
grafana 12.2 12.2.0 → < 12.2.8 12.2.8
grafana 12.0 12.0.0 → < 12.1.10 12.1.10
Show the 4 other branches
Product Affected versions Fixed in
grafana 11.6 11.6.0 → < 11.6.14 11.6.14
Red Hat Enterprise Linux 10 Versions not published
Red Hat Enterprise Linux 8 Versions not published
Red Hat Enterprise Linux 9 Versions not published
The 41 CVEs of Grafana Enterprise →
Track this CVE