Skip to content
Fencer Vulns
critical 9.1

CVE-2026-27876 json

RCE on Grafana via sqlExpressions

published 2026-03-27 7 mo ago modified 2026-11-03 5 d ago also BIT-grafana-2026-27876 , EUVD-2026-16634

cvss
9.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
2.0%
EPSS 2.0% chance of exploitation in 30 days, percentile 80%
public exploits
0
none known

Summary

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.

Patch / fix

  • bitnami grafana 11.6.14, 12.1.10, 12.2.8, 12.3.6, 12.4.2
  • Grafana Grafana 11.6.14, 12.1.10, 12.2.8, 12.3.6, 12.4.2
  • grafana Multi Linux Manager Tools SLE-15 11.6.14+security01-150002.4.14.1
  • spacecmd Multi Linux Manager Tools SLE-15 5.1.13-150002.3.9.3
  • uyuni-tools Multi Linux Manager Tools SLE-Micro-5, Multi Linux Manager Tools SLE-15 5.1.26-150002.3.12.1
  • prometheus-blackbox_exporter Multi Linux Manager Tools SLE-Micro-5, Multi Linux Manager Tools SLE-15 0.26.0-150002.3.6.1
  • golang-github-prometheus-prometheus Multi Linux Manager Tools SLE-15 3.5.0-150002.3.8.1
  • golang-github-lusitaniae-apache_exporter Multi Linux Manager Tools SLE-15 1.0.10-150002.3.6.1

suse advisories SUSE-SU-2026:1524-1

  • grafana openSUSE Leap 16.0 11.6.14+security04-bp160.1.1
  • grafana openSUSE Tumbleweed 11.6.14+security01-1.1

opensuse advisories openSUSE-SU-2026:20940-1openSUSE-SU-2026:10601-1

  • grafana Alpine 3.23 12.2.8-r0
  • grafana Alpine 3.24 12.4.3-r0

alpine advisories ALPINE-CVE-2026-27876

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-27876 updated cvss 9.1

grafana: grafana-enterprise-plugin: Grafana: Remote arbitrary code execution via chained SQL Expressions and Enterprise plugin attack

  • Red Hat Enterprise Linux 8 grafana, grafana-loki, grafana-mssql, grafana-mysql, grafana-selinux, grafana-graphite, +8 more Red Hat Enterprise Linux 9 grafana, grafana-selinux Red Hat Enterprise Linux 10 grafana
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
7 mo ago

Exploit prediction

1.96% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 9.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
CISA ADP 3.1 9.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
OSV 3.1 9.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
bitnami grafana
>=11.6.0, <11.6.14
>=12.0.0, <12.1.10
>=12.2.0, <12.2.8
>=12.3.0, <12.3.6
>=12.4.0, <12.4.2
11.6.14
12.1.10
12.2.8
12.3.6
12.4.2

Affected products

  • Grafana Grafana
  • Red Hat Red Hat Enterprise Linux 10
  • Red Hat Red Hat Enterprise Linux 8
  • Red Hat Red Hat Enterprise Linux 9

Classification

Weakness
  • CWE-94 Improper Control of Generation of Code
  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: NVD has incorrect affected ranges. They incorrectly interpreted the fixed ranges as affected ranges.