CVE-2026-27876
Critical · 9.1CVSS
9.1
EPSS
1.4%
Published
Mar 27, 2026
CISA due date
—
The record
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 packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Chainguard | grafana-11.6 | 0 | 0 |
| Chainguard | grafana-12.1 | 0 | 0 |
| Chainguard | grafana-12.2 | 0 | 0 |
| Chainguard | grafana-12.3 | 0 | 0 |
| Chainguard | grafana-fips-11.6 | 0 | 11.6.14-r2 |
| Wolfi | grafana-11.6 | 0 | 0 |
| Wolfi | grafana-12.1 | 0 | 0 |
| Wolfi | grafana-12.2 | 0 | 0 |
| Wolfi | grafana-12.3 | 0 | 0 |
| openSUSE:Leap 16.0 | grafana | 0 | 11.6.14+security04-bp160.1.1 |
| openSUSE:Tumbleweed | grafana | 0 | 11.6.14+security01-1.1 |
Related vulnerabilities
- CVE-2026-28375 A testdata data-source can be used to trigger out-of-memory crashes in Grafana. Also affects grafana-11.6
- CVE-2026-27879 A resample query can be used to trigger out-of-memory crashes in Grafana. Also affects grafana-11.6
- CVE-2026-27877 When using public dashboards and direct data-sources, all direct data-sources' passwords… Also affects grafana-11.6
- CVE-2026-32285 The Delete function fails to properly validate offsets when processing malformed JSON… Also affects grafana-11.6
- CVE-2025-11065 A flaw was found in github.com/go-viper/mapstructure/v2, in the field processing… Also affects grafana-11.6
- CVE-2024-6485 A security vulnerability has been discovered in bootstrap that could enable Cross-Site… Also affects grafana-11.6
- CVE-2026-25934 go-git is a highly extensible git implementation library written in pure Go. Also affects grafana-12.1
- CVE-2026-24001 jsdiff is a JavaScript text differencing implementation. Also affects grafana-12.1