What’s Vulnerable › Vulnerabilities
CVE-2026-27876: RCE on Grafana via sqlExpressions
- Severity: critical (CVSS 9.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.0% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-27 · updated 2026-07-15
- Weakness: CWE-94
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 products
- Grafana: 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 — fixed in 11.6.0, 12.0.0, 12.2.0, 12.3.0, 12.4.0
How to fix
Upgrade to a fixed version: Grafana 11.6.0, 12.0.0, 12.2.0, 12.3.0. Check the vendor advisory for mitigations.
References
- https://grafana.com/security/security-advisories/cve-2026-27876
- https://access.redhat.com/security/cve/CVE-2026-27876
- https://bugzilla.redhat.com/show_bug.cgi?id=2452277
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-27876.json
Get alerted when CVE-2026-27876 or the next vulnerability affects your stack