9.1

CVE-2026-27876: RCE on Grafana via sqlExpressions

Modified
AliasesUBUNTU-CVE-2026-27876CGA-2j7j-9m9f-xq46CGA-43v6-jh3w-5q22
Published 27-03-2026Last modified 27-08-2026

Vulnerability summary

CVE-2026-27876 is a critical (CVSS 9.1) Improper Control of Generation of Code vulnerability in grafana. EPSS estimates a 1.96% chance of exploitation in the next 30 days, higher than 80.3% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 9.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 03-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
9.1/10
010
Critical · v3.1 (CVE.org)
EPSS score
1.96%
0%100%
Low · +0.58 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 3 · Related 4

Timeline

  1. 27-03-2026
    PublishedVulnerability first disclosed.
  2. 27-08-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

1.96%

Chance of exploitation in the next 30 days

Percentile

80%

Versus all other CVEs

30-day change

Increase +0.58 pp

From 1.38% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard12 products
  • grafana-11.5< 11.5.10-r2
  • grafana-11.6All versions (No fix recorded)
  • grafana-12.0All versions (No fix recorded)
  • grafana-12.1All versions (No fix recorded)
  • grafana-12.2All versions (No fix recorded)
Alpine1 product
  • grafana≥ 11.6.14, < 12.2.8-r0 | ≥ 11.6.14, < 12.4.3-r0
Grafana1 product
  • grafana≥ 11.6.0, < 11.6.14 | ≥ 12.0.0, < 12.1.10 | ≥ 12.2.0, < 12.2.8 | ≥ 12.3.0, < 12.3.6 | ≥ 12.4.0, < 12.4.2 | < 11.6.0 | ≥ 11.6.14, < 12.0.0 | ≥ 12.1.10, < 12.2.0 | ≥ 12.2.8, < 12.3.0 | ≥ 12.3.6, < 12.4.0
Ubuntu1 product
  • grafanaAll versions (No fix recorded)
Wolfi1 product
  • grafana-12.3All versions (No fix recorded)

5 vendors · 16 products

References

9 links