Skip to main content

Grafana EUVDEUVD-2026-70104

| CVE-2026-19475 MEDIUM
Uncontrolled Resource Consumption (CWE-400)
2026-09-02 security@grafana.com GHSA-f7qf-p234-rj62
6.5
CVSS 3.1 · Vendor: grafana
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privilege Grafana user
  2. Delivery
    Access SQL data source query interface
  3. Exploit
    Inject timeGroup macro into WHERE clause
  4. Execution
    Bypass regex-based macro filter
  5. Persist
    Trigger uncontrolled memory consumption in macro evaluator
  6. Impact
    Crash Grafana server process

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a valid Grafana account with at least low-privilege query access (PR:L) to a SQL data source of type Microsoft SQL Server, PostgreSQL, or MySQL - this is standard permission for Grafana editors and viewers with data source access in most multi-user deployments. The attacker must be able to submit a query containing a WHERE clause; no special Grafana configuration beyond having a SQL data source provisioned is needed. Exploitation is blocked for unauthenticated users and for authenticated users whose accounts have no SQL data source query permissions. Impact is strictly limited to availability - no credentials, query results, or configuration data are disclosed or modified.

Impact

The CVSS 6.5 Medium score with vector AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H accurately reflects the threat profile: network-reachable, low-complexity, but requiring a valid authenticated session with SQL data source query permissions (PR:L). Impact is purely availability - the Grafana server process crashes, causing a denial of service for all users until restarted; there is no confidentiality or integrity component. The bypass nature of this vulnerability is an escalating signal: the injection pattern was already characterized during CVE-2026-33375 research, meaning researchers familiar with that prior work may have identified this gap quickly. No EPSS score, CISA KEV listing, or public POC was provided, so exploitation status is unconfirmed. In multi-tenant Grafana deployments where many users hold query permissions on shared SQL data sources, the pool of potential actors is larger than a typical PR:L scenario. The risk is real but bounded to availability and limited to environments exposing SQL data sources to non-admin users.

Exploit ScenarioDerived

An authenticated Grafana editor with access to a shared PostgreSQL data source crafts a panel query embedding the timeGroup macro inside a WHERE clause predicate. Grafana's regex-based macro filter, which was introduced to remediate CVE-2026-33375, does not match this injection path and passes the query to the macro evaluator. The evaluator processes the macro and enters an unbounded memory allocation loop, causing the Grafana server process to be killed by the OS, taking all dashboards and alerts offline until a manual restart.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 02, 2026

Uncontrolled memory consumption in Grafana's SQL macro evaluator allows authenticated users with query permissions to crash the Grafana server process via a bypass of the prior CVE-2026-33375 fix. By injecting the timeGroup macro into a WHERE clause rather than the positions blocked by the original regex-based patch, attackers cause the macro evaluator to consume unbounded memory, terminating the server. Microsoft SQL Server, PostgreSQL, and MySQL data source integrations are all confirmed affected, and no public exploit has been identified at time of analysis.

RemediationAI

Upgrade Grafana to the patched version identified in the vendor security advisory at https://grafana.com/security/security-advisories/cve-2026-19475; exact fix versions were not included in the available data and must be confirmed directly from that advisory. As an immediate compensating control, restrict SQL data source query permissions to the minimum necessary set of trusted users - removing query access from general viewers eliminates the exploitation prerequisite entirely, though it may reduce self-service dashboard functionality. Additionally, configuring process-level memory limits on the Grafana server (for example, systemd MemoryMax= or container cgroup memory limits) constrains the blast radius so that memory exhaustion triggers a controlled restart rather than an uncontrolled OOM kill that delays recovery. Alerting on Grafana process restarts or memory spikes provides detection coverage until the patch is applied.

Affected VersionsENISA

Grafana OSS 11.6.0 ≤11.6.16
Grafana OSS 12.3.0 ≤12.3.11
Grafana OSS 12.0.0 ≤12.0.10
Grafana OSS 13.0.0 ≤13.0.7
Microsoft SQL Server Datasource 13.0.0 ≤13.0.1
Grafana OSS 13.1.0 ≤13.1.4
MySQL Datasource 13.0.0 ≤13.0.2
PostgreSQL Datasource 13.0.0 ≤13.0.1
Grafana OSS 12.1.0 ≤12.1.10
Grafana OSS 12.4.0 ≤12.4.9
Grafana OSS 12.2.0 ≤12.2.10

Affected Packages

euvd grafana_oss no fix
euvd microsoft_sql_server_datasource no fix
euvd mysql_datasource no fix
euvd postgresql_datasource no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 4 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Grafana's SQL data source plugins expose query macros - such as $__timeGroup() - that transform simplified time-series syntax into backend-specific SQL. A prior vulnerability (CVE-2026-33375) documented macro injection abuse, and Grafana applied a regex-based filter to block malicious macro injection paths. CVE-2026-19475 documents that the filter does not cover injection via WHERE clause syntax, leaving a gap through which the timeGroup macro can be reintroduced. When the macro evaluator processes this attacker-controlled input, it enters an uncontrolled resource consumption path (functionally CWE-400 / Uncontrolled Resource Consumption, though listed as N/A in the input) driven by a protection mechanism failure (CWE-693) in the incomplete original fix. All three supported relational backend types - MSSQL, PostgreSQL, MySQL - share this vulnerable code path.

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

Vendor (grafana) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 6.5 MEDIUM

Network-reachable via Grafana UI, low complexity injection; requires authenticated SQL query access (PR:L); impact is availability-only crash with no data exposure.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 6.5 MEDIUM

Primary rating from Vendor (grafana).

CVSS VectorVendor: grafana

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionCVE.org

An authenticated user with permission to query a SQL data source can bypass the fix for CVE-2026-33375 by injecting the timeGroup macro through a WHERE clause, which Grafana's regex-based macro parsing does not reject. Evaluating the injected macro causes uncontrolled memory consumption that can terminate the Grafana server process, resulting in a denial of service. The Microsoft SQL Server, PostgreSQL, and MySQL data sources are affected.

Threat Intelligence Overview

EPSS Score
0.4%
Top 67% exploitable
Prevalence
High
widely deployed observability platform across enterprise and cloud environments
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2024-9264 CRITICAL POC
9.4 Oct 18

The SQL Expressions experimental feature of Grafana allows for the evaluation of `duckdb` queries containing user input.

CVE-2023-34111 CRITICAL POC
9.8 Jun 06

The `Release PR Merged` workflow in the github repo taosdata/grafanaplugin is subject to a command injection vulnerabili

CVE-2022-26148 CRITICAL POC
9.8 Mar 21

An issue was discovered in Grafana through 7.3.4, when integrated with Zabbix. Rated critical severity (CVSS 9.8), this

CVE-2020-27846 CRITICAL POC
9.8 Dec 21

A signature verification vulnerability exists in crewjam/saml. Rated critical severity (CVSS 9.8), this vulnerability is

CVE-2018-15727 CRITICAL POC
9.8 Aug 29

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

CVE-2026-63087 CRITICAL POC
9.3 Jul 16

Authentication bypass in Grafana OnCall through 1.16.11 lets unauthenticated remote attackers mint a valid PluginAuthTok

CVE-2023-36649 CRITICAL POC
9.1 Dec 12

Insertion of sensitive information in the centralized (Grafana) logging system in ProLion CryptoSpike 3.0.15P2 allows re

CVE-2025-4123 HIGH POC
7.6 May 22

A cross-site scripting (XSS) vulnerability exists in Grafana caused by combining a client path traversal and open redire

CVE-2020-13379 HIGH POC
8.2 Jun 03

The avatar feature in Grafana 3.0.1 through 7.0.1 has an SSRF Incorrect Access Control issue. Rated high severity (CVSS

CVE-2023-1387 HIGH POC
7.5 Apr 26

Grafana is an open-source platform for monitoring and observability. Rated high severity (CVSS 7.5), this vulnerability

CVE-2022-32276 HIGH POC
7.5 Jun 17

Grafana 8.4.3 allows unauthenticated access via (for example) a /dashboard/snapshot/*?orgId=0 URI. Rated high severity (

CVE-2022-32275 HIGH POC
7.5 Jun 06

Grafana 8.4.3 allows reading files via (for example) a /dashboard/snapshot/%7B%7Bconstructor.constructor'/.. Rated high

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Module for Package Hub 15 SP7 Affected
SUSE Manager Client Tools 15 Affected
SUSE Manager Client Tools for SLE 15 Affected
SUSE Multi-Linux Manager Client Tools for SLE 15 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy