Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Grafana with low-privilege account
-
DeliveryIdentify panel using SQL datasource
-
ExploitCraft query using $__timeGroup macro to maximize memory allocation
-
ExecutionSubmit repeated or sustained crafted queries over ~30 minutes
-
PersistExhaust Grafana server memory
-
ImpactCrash Grafana process, denying service to all users
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 an authenticated Grafana user account with at minimum low-privilege access (CVSS PR:L confirmed). A SQL datasource - such as PostgreSQL, MySQL, or Microsoft SQL Server - must be configured and accessible within the Grafana instance; deployments using only non-SQL datasources (Prometheus, Loki, InfluxDB, etc.) are not affected. The $__timeGroup macro must be usable in queries targeting that SQL datasource. The attack is not automatable (SSVC: Automatable=no), meaning exploitation requires sustained, manual interaction over approximately 30 minutes rather than a single-shot trigger. Deployments with auto-restart enabled (e.g., systemd with Restart=always) reduce the effective impact to near-zero. Exploitation is further limited by the absence of any scope change (S:U) - the crash is confined to the Grafana process itself. |
| Impact | The CVSS 6.5 score reflects a network-reachable, low-complexity denial-of-service with a significant availability impact (A:H) but zero confidentiality or integrity impact. The low-privilege requirement (PR:L) is a meaningful constraint - this is not an unauthenticated attack. Real-world risk is further dampened by multiple converging signals: EPSS stands at just 0.04% (12th percentile), indicating very low probability of exploitation in the near term; CISA SSVC classifies exploitation status as 'none' with only partial technical impact; and the attack itself requires approximately 30 minutes to achieve a crash, making it resource-intensive for an attacker and easily detectable via monitoring. The vendor explicitly notes that auto-restart configurations reduce impact to minimal or non-existent. No public exploit code exists and this is not listed in CISA KEV. This vulnerability is a genuine but operationally low-urgency issue - patching should occur in the normal patch cycle, with prioritization elevated only for internet-exposed Grafana instances with SQL datasources and no auto-restart configured. |
| Exploit ScenarioDerived | An authenticated Grafana user with at least Viewer-level access to a dashboard backed by a SQL datasource crafts or modifies a panel query using the $__timeGroup macro in a manner that drives excessive memory allocation on the Grafana server process. Over approximately 30 minutes of sustained crafted queries, server memory is exhausted and the Grafana process crashes, causing a denial of service to all users. No public exploit code has been identified, and the slow-burn nature of the attack makes it more suited to a disgruntled insider or persistent low-sophistication attacker than opportunistic exploitation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 08, 2026
Uncontrolled resource consumption in Grafana OSS allows authenticated low-privilege users to trigger an out-of-memory (OOM) crash by exploiting the $__timeGroup macro against a configured SQL datasource. The attack is slow by nature - requiring upwards of 30 minutes to exhaust server memory - and affects Grafana OSS versions spanning from 8.0.0 through 13.0.1. Grafana reported this vulnerability directly, a vendor patch is available across all affected release branches, and no public exploit code or active exploitation has been identified at time of analysis.
RemediationAI
The primary fix is to upgrade Grafana OSS to one of the following vendor-released patched versions corresponding to your release branch: 11.6.14+security-04, 12.2.8+security-04, 12.3.6+security-04, 12.4.3+security-02, or 13.0.1+security-01. Refer to the Grafana security advisory at https://grafana.com/security/security-advisories/cve-2026-33378 for upgrade guidance. As a compensating control where immediate patching is not possible, restricting the Viewer or Editor role permissions to prevent use of SQL datasources with the $__timeGroup macro would eliminate the exploitation pathway, though this may impact legitimate dashboard functionality. Alternatively, configuring the Grafana server process to auto-restart (e.g., via systemd Restart=on-failure) significantly reduces impact to near-zero, as the vendor notes the crash requires 30+ minutes and an auto-restarting service limits sustained downtime. Rate-limiting or query timeout settings at the SQL datasource level (e.g., max execution time for MySQL, statement_timeout for PostgreSQL) may also throttle the memory accumulation, but this is not confirmed by vendor documentation and would need testing.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability stems from CWE-400 (Uncontrolled Resource Consumption), where Grafana's $__timeGroup macro - a template variable used in panel queries to group time-series data - fails to bound memory allocation when used with a SQL datasource (e.g., PostgreSQL, MySQL, or Microsoft SQL Server). The macro likely generates increasingly large intermediate datasets or repetitive query structures that accumulate in server memory without adequate throttling or circuit-breaking. The affected product, identified by CPE cpe:2.3:a:grafana:grafana_oss:*:*:*:*:*:*:*:*, is the open-source edition of Grafana, spanning a wide version range from 8.0.0 to the 13.x branch. The attack is not automatable (SSVC: Automatable=no), reflecting the manual, iterative nature of triggering progressive memory growth rather than a single-packet exploit.
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:L/UI:N/S:U/C:N/I:N/A:H
Primary rating from Vendor (GRAFANA).
CVSS VectorVendor: GRAFANA
Lifecycle Timeline
1DescriptionCVE.org
Using the $__timeGroup macro, one can achieve an OOM by overloading the server. This requires a SQL datasource. If the server is set up to auto-restart, the impact is minimal or non-existent, as the attack can take upwards of half an hour to crash the server.
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
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
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-400 – Uncontrolled Resource Consumption
View allSame technique Denial Of Service
View allVendor StatusVendor
SUSE
Severity: Medium| 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 |
| 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 |
| openSUSE Leap 15.6 | Fixed |
| SUSE Multi Linux Manager Tools SLE-15 | Fixed |
| ses/7.1/ceph/grafana ses/7/ceph/grafana suse/multi-linux-manager/5.2/x86_64/monitoring-grafana | Fixed |
EUVD-2026-30144
GHSA-rr8q-qwrv-9pf6
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB