Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessEnable sqlExpressions feature toggle
-
ExploitCraft malicious SQL expression payload
-
ExecutionInject code through Grafana Enterprise plugin
-
ImpactExecute arbitrary code on server
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires Grafana (OSS or Enterprise) with the sqlExpressions feature toggle explicitly enabled. Attacker needs high-privilege authentication (admin or equivalent role) to configure SQL expressions chained with a vulnerable Enterprise plugin to achieve RCE. |
| Impact | The CVSS score of 9.1 (Critical) reflects the severe impact potential with complete confidentiality, integrity, and availability compromise plus changed scope. However, real-world exploitability is constrained by the requirement for high-privilege authentication (PR:H), meaning only administrative or highly trusted users can trigger the vulnerability. The network attack vector (AV:N) and low complexity (AC:L) indicate remote exploitation is straightforward once authenticated. No public exploit identified at time of analysis and no CISA KEV listing suggests this is not currently under active exploitation. The requirement for the sqlExpressions feature toggle to be enabled further limits the attack surface to a subset of Grafana deployments. While the technical impact is maximum, the narrow prerequisite conditions and lack of observed exploitation activity suggest this is a high-severity issue requiring timely patching but not an emergency requiring immediate out-of-band response for most organizations. Priority should be elevated for environments where high-privilege accounts may be compromised or where the sqlExpressions feature is actively used. |
| Exploit ScenarioDerived | An authenticated attacker with high-privilege administrative access to a Grafana instance with sqlExpressions enabled crafts a malicious SQL expression that chains with a Grafana Enterprise plugin to inject and execute arbitrary code on the server. The low attack complexity suggests exploitation involves straightforward interaction with existing Grafana features rather than complex race conditions or timing attacks. Successful exploitation grants the attacker complete control over the Grafana server with changed scope impact, potentially enabling lateral movement to connected data sources and infrastructure managed through the Grafana installation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 27, 2026
Remote code execution is achievable in Grafana installations through a chained attack combining SQL Expressions with a Grafana Enterprise plugin, affecting both open-source and Enterprise deployments. The vulnerability requires high-privilege authenticated access (PR:H) but enables cross-scope impact with complete system compromise once exploited. Only instances with the sqlExpressions feature toggle enabled are vulnerable, though Grafana recommends all users update to prevent future exploitation paths using this attack vector. No public exploit identified at time of analysis, and authentication as a high-privilege user is required per CVSS vector.
RemediationAI
Update Grafana installations to the patched version specified in the Grafana security advisory at https://grafana.com/security/security-advisories/cve-2026-27876. Patch available per vendor advisory, though specific fixed version numbers are not provided in the intelligence data. As an interim mitigation for environments unable to patch immediately, disable the sqlExpressions feature toggle to eliminate the attack vector. Additionally, audit and restrict administrative access privileges to minimize the pool of accounts with PR:H level permissions capable of exploiting this vulnerability. Review Grafana Enterprise plugin configurations to identify and assess risk from plugin interactions with SQL Expressions functionality.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability affects Grafana Enterprise and related products as identified by CPE cpe:2.3:a:grafana:grafana_enterprise:*:*:*:*:*:*:*:*. The attack chain leverages the SQL Expressions feature in Grafana OSS combined with functionality in a Grafana Enterprise plugin to achieve arbitrary code execution. SQL Expressions is a feature toggle that enables SQL-based data transformations and queries within Grafana dashboards. The chained nature indicates multiple components must interact to create the exploitable condition, suggesting the vulnerability arises from inadequate input validation or sandboxing across plugin boundaries when SQL expressions are processed. The Changed scope (S:C) in the CVSS vector indicates the vulnerability can affect resources beyond its original security context, typical of code execution flaws that break out of application containment.
Know when Grafana gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Primary rating from Vendor (GRAFANA).
CVSS VectorVendor: GRAFANA
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
A critical remote code execution vulnerability in Grafana enables authenticated administrators to achieve complete system compromise through a chained SQL expression attack. Organizations running Grafana with the sqlExpressions feature enabled face immediate risk of full infrastructure takeover by privileged internal users or attackers who compromise high-level credentials, requiring urgent mitigation regardless of patch availability.
Disable the sqlExpressions feature toggle on all Grafana instances immediately; enforce principle of least privilege with role-based access controls limiting administrative permissions; segment Grafana deployments on isolated network zones with restricted outbound connectivity; implement WAF rules to monitor and block unusual administrative API activity; enable comprehensive audit logging of all administrative actions and API calls; require multi-factor authentication for all administrative accounts; monitor for SQL injection patterns in Grafana plugin configurations and API requests.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
The SQL Expressions experimental feature of Grafana allows for the evaluation of `duckdb` queries containing user input.
The `Release PR Merged` workflow in the github repo taosdata/grafanaplugin is subject to a command injection vulnerabili
An issue was discovered in Grafana through 7.3.4, when integrated with Zabbix. Rated critical severity (CVSS 9.8), this
A signature verification vulnerability exists in crewjam/saml. Rated critical severity (CVSS 9.8), this vulnerability is
Grafana 2.x, 3.x, and 4.x before 4.6.4 and 5.x before 5.2.3 allows authentication bypass because an attacker can generat
Authentication bypass in Grafana OnCall through 1.16.11 lets unauthenticated remote attackers mint a valid PluginAuthTok
Insertion of sensitive information in the centralized (Grafana) logging system in ProLion CryptoSpike 3.0.15P2 allows re
A cross-site scripting (XSS) vulnerability exists in Grafana caused by combining a client path traversal and open redire
The avatar feature in Grafana 3.0.1 through 7.0.1 has an SSRF Incorrect Access Control issue. Rated high severity (CVSS
Grafana is an open-source platform for monitoring and observability. Rated high severity (CVSS 7.5), this vulnerability
Grafana 8.4.3 allows unauthenticated access via (for example) a /dashboard/snapshot/*?orgId=0 URI. Rated high severity (
Grafana 8.4.3 allows reading files via (for example) a /dashboard/snapshot/%7B%7Bconstructor.constructor'/.. Rated high
Same weakness CWE-94 – Code Injection
View allVendor StatusVendor
SUSE
Severity: Critical| Product | Status |
|---|---|
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | Fixed |
| SUSE Manager Client Tools 15 | Fixed |
| SUSE Manager Client Tools for SLE 15 | Fixed |
| SUSE Multi-Linux Manager Client Tools for SLE 15 | Fixed |
| openSUSE Leap 15.6 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP4 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Fixed |
| openSUSE Leap 15.3 | Fixed |
| openSUSE Leap 15.4 | Fixed |
| openSUSE Leap 15.5 | Fixed |
| SUSE Multi Linux Manager Tools SLE-15 | Fixed |
EUVD-2026-16634
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB