CVE-2026-27876 in Grafana
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...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, high privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Grafana | Grafana | < 11.6.0 ≥ 11.6.0, < 11.6.14 ≥ 11.6.14, < 12.0.0 ≥ 12.0.0, < 12.1.10 ≥ 12.1.10, < 12.2.0 ≥ 12.2.0, < 12.2.8+4 more≥ 12.2.8, < 12.3.0 ≥ 12.3.0, < 12.3.6 ≥ 12.3.6, < 12.4.0 ≥ 12.4.0, < 12.4.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-27876 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-076667-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
| Published | 2026-03-27 |
| Last modified | 2026-11-03 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-89: SQL Injection
Attacker inserts SQL commands into application queries through user-controlled input, allowing unauthorized database access.
CWE-94: Code Injection
Attacker injects arbitrary code that is executed by the application process.
Related attack patterns (CAPEC)
CAPEC-7 Blind SQL Injection via CWE-89
CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-94
CAPEC-108 Command Line Execution through SQL Injection via CWE-89
CAPEC-109 Object Relational Mapping Injection via CWE-89
CAPEC-110 SQL Injection through SOAP Parameter Tampering via CWE-89
Show all 9
CAPEC-470 Expanding Control over the Operating System from the Database via CWE-89
CAPEC-66 SQL Injection via CWE-89
CAPEC-77 Manipulating User-Controlled Variables via CWE-94
CAPEC-242 Code Injection via CWE-94
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A chained attack via SQL Expressions and a Grafana Enterprise plugin can lead to remote arbitrary code execution (RCE) in vulnerable instances of Grafana.
The attack exploits a feature in Grafana (OSS) that allows SQL expressions to be used in a way that can be manipulated to execute arbitrary code, specifically in instances where the sqlExpressions feature toggle is enabled.
Questions
What is CVE-2026-27876?
A chained attack via SQL Expressions and a Grafana Enterprise plugin can lead to remote arbitrary code execution (RCE) in vulnerable instances of Grafana.
What is the CVSS score for CVE-2026-27876?
CVE-2026-27876 has CVSS 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H. EPSS: 1.6%.
Is CVE-2026-27876 actively exploited?
No confirmed active exploitation of CVE-2026-27876 as of 2026-11-04.
How do I remediate CVE-2026-27876?
Priority: IMMEDIATE. Advisory: https://grafana.com/security/security-advisories/cve-2026-27876 PSIRT: [email protected]
What systems are affected by CVE-2026-27876?
CVE-2026-27876 affects Grafana Grafana.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Grafana","product":"Grafana","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-03.