cve.bz

CVE-2026-27876 grafana grafana: Code Injection

9.1 criticalEPSS 2.0%

Critical (9.1) in grafana grafana. EPSS 2.0% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
EPSS
2.0% (unchanged from 2.0% a week ago; 1.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 82nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-03-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-94 Improper Control of Generation of Code (Code Injection)
CWE-89 Improper Neutralization of Special Elements used in an SQL Command (SQL Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-27876 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-27876?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-27876?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-27876 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Grafanafrom 11.6.0 before 11.6.14
Grafanafrom 12.0.0 before 12.1.10
Grafanafrom 12.2.0 before 12.2.8
Grafanafrom 12.3.0 before 12.3.6
Grafanafrom 12.4.0 before 12.4.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu16.04:LTSgrafanano fix listedUBUNTU-CVE-2026-27876
SUSEMulti Linux Manager Tools SLE-15golang-github-lusitaniae-apache_exporter1.0.10-150002.3.6.1SUSE-SU-2026:1524-1
SUSEMulti Linux Manager Tools SLE-15golang-github-prometheus-prometheus3.5.0-150002.3.8.1SUSE-SU-2026:1524-1
SUSEMulti Linux Manager Tools SLE-15grafana11.6.14+security01-150002.4.14.1SUSE-SU-2026:1524-1
SUSEMulti Linux Manager Tools SLE-15spacecmd5.1.13-150002.3.9.3SUSE-SU-2026:1524-1
SUSEMulti Linux Manager Tools SLE-15, Multi Linux Manager Tools SLE-Micro-5prometheus-blackbox_exporter0.26.0-150002.3.6.1SUSE-SU-2026:1524-1
SUSEMulti Linux Manager Tools SLE-15, Multi Linux Manager Tools SLE-Micro-5uyuni-tools5.1.26-150002.3.12.1SUSE-SU-2026:1524-1
openSUSELeap 16.0grafana11.6.14+security04-bp160.1.1openSUSE-SU-2026:20940-1
openSUSETumbleweedgrafana11.6.14+security01-1.1openSUSE-SU-2026:10601-1
Alpinev3.23grafana12.2.8-r0ALPINE-CVE-2026-27876
Alpinev3.24grafana12.4.3-r0ALPINE-CVE-2026-27876

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Critical.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10grafanaNot affected
Red Hat Enterprise Linux 8grafanaNot affected
Red Hat Enterprise Linux 9grafanaNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-27876.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High
  • CAPEC-7 Blind SQL Injection Likelihood: High · Severity: High
  • CAPEC-66 SQL Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High
  • CAPEC-109 Object Relational Mapping Injection Likelihood: Low · Severity: High
  • CAPEC-110 SQL Injection through SOAP Parameter Tampering Likelihood: High · Severity: Very High
  • CAPEC-470 Expanding Control over the Operating System from the Database Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON