CVE-2026-27876
Severity CVSS v4.0:
Pending analysis
Type:
CWE-94
Code Injection
Publication date:
27/03/2026
Last modified:
02/04/2026
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.<br />
<br />
Only instances with the sqlExpressions feature toggle enabled are vulnerable.<br />
<br />
Only instances in the following version ranges are affected:<br />
<br />
- 11.6.0 (inclusive) to 11.6.14 (exclusive): 11.6.14 has the fix. 11.5 and below are not affected.<br />
- 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.<br />
- 12.2.0 (inclusive) to 12.2.8 (exclusive): 12.2.8 has the fix.<br />
- 12.3.0 (inclusive) to 12.3.6 (exclusive): 12.3.6 has the fix.<br />
- 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.
Impact
Base Score 3.x
9.10
Severity 3.x
CRITICAL
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:grafana:grafana:*:*:*:*:enterprise:*:*:* | 11.6.0 (excluding) | |
| cpe:2.3:a:grafana:grafana:*:*:*:*:enterprise:*:*:* | 11.6.14 (including) | 12.0.0 (excluding) |
| cpe:2.3:a:grafana:grafana:*:*:*:*:enterprise:*:*:* | 12.1.10 (including) | 12.2.0 (excluding) |
| cpe:2.3:a:grafana:grafana:*:*:*:*:enterprise:*:*:* | 12.2.8 (including) | 12.3.0 (excluding) |
| cpe:2.3:a:grafana:grafana:*:*:*:*:enterprise:*:*:* | 12.3.6 (including) | 12.4.0 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



