CVE-2026-27876 RCE on Grafana via sqlExpressions
CriticalCVSS 9.1
EPSS 2.0%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- Red Hat
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.
Upgrade path
4 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/grafana(Alpine v3.23) | >= 12.1.10, < 12.2.8-r0 | 12.2.8-r0 | Fixed |
| alpine/grafana(Alpine v3.24) | >= 12.3.6, < 12.4.3-r0 | 12.4.3-r0 | Fixed |
| grafana github.com/grafana/grafana | < 11.6.0; >= 11.6.0, < 11.6.14; >= 11.6.14, < 12.0.0; >= 12.0.0, < 12.1.10 +6 more | 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 | Fixed |
| redhat enterprise linux | = 8; = 9; = 10 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| grafana github.com/grafana/grafana | >= 11.6.0, < 11.6.14 | 11.6.14 |
| grafana github.com/grafana/grafana | >= 12.0.0, < 12.1.10 | 12.1.10 |
| grafana github.com/grafana/grafana | >= 12.2.0, < 12.2.8 | 12.2.8 |
| grafana github.com/grafana/grafana | >= 12.3.0, < 12.3.6 | 12.3.6 |
| grafana github.com/grafana/grafana | >= 12.4.0, < 12.4.2 | 12.4.2 |
| redhat enterprise linux | = 10 | No fix listed |
| redhat enterprise linux | = 8 | No fix listed |
| redhat enterprise linux | = 9 | No fix listed |
| grafana github.com/grafana/grafana | < 11.6.0 | 11.6.0 |
| grafana github.com/grafana/grafana | >= 11.6.14, < 12.0.0 | 12.0.0 |
| grafana github.com/grafana/grafana | >= 12.1.10, < 12.2.0 | 12.2.0 |
| grafana github.com/grafana/grafana | >= 12.2.8, < 12.3.0 | 12.3.0 |
| grafana github.com/grafana/grafana | >= 12.3.6, < 12.4.0 | 12.4.0 |
| alpine/grafana(Alpine:v3.23) | >= 12.1.10, < 12.2.8-r0 | 12.2.8-r0 |
| alpine/grafana(Alpine:v3.24) | >= 12.3.6, < 12.4.3-r0 | 12.4.3-r0 |
References
- grafana.com vendor-advisory
- Red Hat CVE page vdb-entry vendor-advisory
- RHBZ#2452277 issue-tracking
- security.access.redhat.com
- www.cve.org
- nvd.nist.gov
- security.alpinelinux.org vendor-advisory
- ENISA EUVD EUVD-2026-16634 third-party-advisory