CVE-2026-27876

CRITICAL

RCE on Grafana via sqlExpressions

Title source: cna
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2026-27876. PoCs published by 0xBlackash.

AI-analyzed exploit summary The repository contains a Python script and Nuclei template to detect vulnerable Grafana instances affected by CVE-2026-27876. It checks version numbers and confirms Grafana presence but does not include exploit code.

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.

Exploits (1)

nomisec SCANNER
by 0xBlackash · poc
https://github.com/0xBlackash/CVE-2026-27876

The repository contains a Python script and Nuclei template to detect vulnerable Grafana instances affected by CVE-2026-27876. It checks version numbers and confirms Grafana presence but does not include exploit code.

Classification
Scanner 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Grafana < 11.6.14, 12.x < 12.4.2
No auth needed
Prerequisites: Network access to target · Grafana instance with exposed /api/health endpoint
devstral-2 · analyzed Apr 08, 2026 Full analysis →

References (1)

Core 1
Core References

Scores

CVSS v3 9.1
EPSS 0.0019
EPSS Percentile 40.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-94
Status published
Products (16)
grafana/grafana < 11.6.0
Grafana/Grafana 11.6.0 - 11.6.14
Grafana/Grafana 12.0.0 - 12.1.10
Grafana/Grafana 12.2.0 - 12.2.8
Grafana/Grafana 12.3.0 - 12.3.6
Grafana/Grafana 12.4.0 - 12.4.2
Grafana/Grafana v11.6.0 - v11.6.14
Grafana/Grafana v12.0.0 - v12.1.10
Grafana/Grafana v12.2.0 - v12.2.8
Grafana/Grafana v12.3.0 - v12.3.6
... and 6 more
Published Mar 27, 2026
Tracked Since Mar 29, 2026