# CVE-2026-27876: RCE on Grafana via sqlExpressions

> CVE-2026-27876: RCE on Grafana via sqlExpressions. CVSS 9.1 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-27876
Last updated: 2026-08-27T17:22:25Z

- Published: 2026-03-27 14:24 UTC · Updated: 2026-08-27 17:22 UTC · Assigner: GRAFANA
- CVSS: 9.1 (CVSS 3.1) · Severity: Critical · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- EPSS: 2.0%, 80th percentile (scored 2026-10-25)
- CISA KEV: no

## 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 vendors and products

- Grafana: Grafana
- Red Hat: Red Hat Enterprise Linux 10
- Red Hat: Red Hat Enterprise Linux 8
- Red Hat: Red Hat Enterprise Linux 9

## Tracked companies

- [Grafana Cloud](https://rewindex.com/company/grafana-cloud.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-27876)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-27876)
- [https://grafana.com/security/security-advisories/cve-2026-27876](https://grafana.com/security/security-advisories/cve-2026-27876)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-27876 · Markdown: https://rewindex.com/cve/CVE-2026-27876.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-27876 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:12:01.048Z
