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

- Severity: Critical 9.1 (CVSS:3.1, scored by GRAFANA) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.04%, higher than 81% of CVEs (2026-12-01)
- Published: 2026-03-27T14:24:36.771Z
- Modified: 2026-11-03T23:17:41.357Z
- Also known as: BIT-GRAFANA-2026-27876
- Weaknesses: CWE-89, CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GRAFANA

## 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.

(As written by CVE List.)

## Affected

- Grafana Grafana: from 11.6.0 before 11.6.14; from 12.0.0 before 12.1.10; from 12.2.0 before 12.2.8; from 12.3.0 before 12.3.6; from 12.4.0 before 12.4.2; before 11.6.0; from 11.6.14 before 12.0.0; from 12.1.10 before 12.2.0; from 12.2.8 before 12.3.0; from 12.3.6 before 12.4.0
- grafana: no versions given
- grafana (Bitnami): from 11.6.0 before 11.6.14; from 12.0.0 before 12.1.10; from 12.2.0 before 12.2.8; from 12.3.0 before 12.3.6; from 12.4.0 before 12.4.2

## Every score

- GRAFANA: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- redhat-SADP: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://grafana.com/security/security-advisories/cve-2026-27876> (advisory, vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-27876> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2452277> (issue-tracking, web)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-27876.json> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27876> (web)

## Sources

- CVE List: [CVE-2026-27876](https://www.cve.org/CVERecord?id=CVE-2026-27876), CVE Terms of Use, modified 2026-11-03
- NVD: [CVE-2026-27876](https://nvd.nist.gov/vuln/detail/CVE-2026-27876), Public domain, modified 2026-11-03
- Bitnami Vulnerability Database: [BIT-GRAFANA-2026-27876](https://osv.dev/vulnerability/BIT-GRAFANA-2026-27876), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-27876 · Whole record: https://cve.day/CVE-2026-27876.json · Rebuilt by cve.day 2026-11-25T22:59:17.380Z
