9.1
CRITICAL CVSS 3.1
CVE-2026-27876
RCE on Grafana via sqlExpressions
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.

INFO

Published Date :

March 27, 2026, 3:16 p.m.

Last Modified :

April 2, 2026, 4:16 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-27876 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Grafana grafana
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 CRITICAL [email protected]
Solution
Update Grafana to the latest version to prevent chained RCE attacks via SQL Expressions.
  • Update Grafana to the latest version.
  • Disable the sqlExpressions feature toggle if not needed.
Public PoC/Exploit Available at Github

CVE-2026-27876 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-27876.

URL Resource
https://grafana.com/security/security-advisories/cve-2026-27876 Vendor Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-27876 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-27876 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

CVE-2026-27876

Python

Updated: 2 weeks, 3 days ago
1 stars 0 fork 0 watcher
Born at : March 30, 2026, 2:19 p.m. This repo has been linked 2 different CVEs too.

📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.

security cve exploit poc vulnerability

Updated: 1 week, 4 days ago
7620 stars 1243 fork 1243 watcher
Born at : Dec. 8, 2019, 1:03 p.m. This repo has been linked 766 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-27876 vulnerability anywhere in the article.

  • CybersecurityNews
Critical Grafana Vulnerabilities Let Attackers Achieve Remote Code Execution

Urgent security updates for Grafana version 12.4.2 address two critical vulnerabilities that could allow attackers to achieve full remote code execution (RCE) and execute denial-of-service (DoS) attac ... Read more

Published Date: Mar 30, 2026 (2 weeks, 4 days ago)
  • Daily CyberSecurity
SQL to SSH: Critical 9.1 CVSS RCE in Grafana Turns Monitoring into a Remote Hijack

The Grafana team has released an urgent security advisory following the discovery of two significant vulnerabilities that could allow attackers to hijack servers or crash instances. The release of Gra ... Read more

Published Date: Mar 29, 2026 (2 weeks, 4 days ago)

The following table lists the changes that have been made to the CVE-2026-27876 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    Apr. 02, 2026

    Action Type Old Value New Value
    Changed 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. 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.
  • Initial Analysis by [email protected]

    Mar. 31, 2026

    Action Type Old Value New Value
    Added CPE Configuration OR *cpe:2.3:a:grafana:grafana:*:*:*:*:enterprise:*:*:* versions up to (excluding) 11.6.0 *cpe:2.3:a:grafana:grafana:*:*:*:*:enterprise:*:*:* versions from (including) 11.6.14 up to (excluding) 12.0.0 *cpe:2.3:a:grafana:grafana:*:*:*:*:enterprise:*:*:* versions from (including) 12.1.10 up to (excluding) 12.2.0 *cpe:2.3:a:grafana:grafana:*:*:*:*:enterprise:*:*:* versions from (including) 12.2.8 up to (excluding) 12.3.0 *cpe:2.3:a:grafana:grafana:*:*:*:*:enterprise:*:*:* versions from (including) 12.3.6 up to (excluding) 12.4.0
    Added Reference Type Grafana Labs: https://grafana.com/security/security-advisories/cve-2026-27876 Types: Vendor Advisory
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Mar. 27, 2026

    Action Type Old Value New Value
    Added CWE CWE-94
  • New CVE Received by [email protected]

    Mar. 27, 2026

    Action Type Old Value New Value
    Added 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.
    Added CVSS V3.1 AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
    Added Reference https://grafana.com/security/security-advisories/cve-2026-27876
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.