CVE Wiki Pixee · CVE intelligence
← All CVEs

CVE-2026-27876

Critical · CVSS 9.1

Grafana — Chained SQL Injection and Code Injection leading to Remote Code Execution (RCE)

CVSS
9.1
nvd
EPSS
KEV
No
Class
other
CWE-94, CWE-89

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.

Search profile — drives PoC discovery

Symbols sqlExpressionsSQL ExpressionssqlExpressions feature toggleGrafana Enterprise pluginsql_expressionSQLExpression
Keywords CVE-2026-27876Grafana RCEGrafana SQL Expressions RCEGrafana sqlExpressionsGrafana Enterprise plugin RCEGrafana code injectionGrafana SQL injectionGrafana 11.6Grafana 12.0Grafana 12.1Grafana 12.2Grafana 12.3Grafana 12.4Grafana arbitrary code executionCWE-94 GrafanaCWE-89 Grafana
Versions: 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

Ranked PoCs (1) — best first

Heuristic ranking — not yet expert-vetted. Scored on structure + provenance, not execution.

Recall-favoring discovery; ranking by the Stage-4 scorer (Adam's rubric). Scanner/aggregator repos are hidden.

References

Status: enriched · ingested 2026-06-27T06:00:38.000Z · profiled 2026-07-01T00:30:14.000Z