Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-27876
Published:March 27, 2026
Updated:May 25, 2026
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.
Affected Packages
https://github.com/grafana/grafana.git (GITHUB):
Affected version(s) >=v12.1.0 <v12.1.10
Fix Suggestion:
Update to version v12.1.10
https://github.com/grafana/grafana.git (GITHUB):
Affected version(s) >=v12.4.0 <v12.4.2
Fix Suggestion:
Update to version v12.4.2
https://github.com/grafana/grafana.git (GITHUB):
Affected version(s) >=v0.0.0-cloud <v11.6.14
Fix Suggestion:
Update to version v11.6.14
https://github.com/grafana/grafana.git (GITHUB):
Affected version(s) >=v12.3.0 <v12.3.6
Fix Suggestion:
Update to version v12.3.6
https://github.com/grafana/grafana.git (GITHUB):
Affected version(s) >=v12.2.0 <v12.2.8
Fix Suggestion:
Update to version v12.2.8
github.com/grafana/grafana (GO):
Affected version(s) >=v0.0.0-20251020084502-5c5ecac6eea6 <v0.0.0-20260512043321-4299b9d2685a
Fix Suggestion:
Update to version v0.0.0-20260512043321-4299b9d2685a
Do you need more information?
Contact Us
CVSS v4
Base Score:
9.4
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
HIGH
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
CVSS v3
Base Score:
9.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Control of Generation of Code ('Code Injection')
EPSS
Base Score:
0.18