Skip to main content

Grafana OSS EUVDEUVD-2026-30144

| CVE-2026-33378 MEDIUM
Uncontrolled Resource Consumption (CWE-400)
2026-05-13 GRAFANA GHSA-rr8q-qwrv-9pf6
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 to Grafana with low-privilege account
  2. Delivery
    Identify panel using SQL datasource
  3. Exploit
    Craft query using $__timeGroup macro to maximize memory allocation
  4. Execution
    Submit repeated or sustained crafted queries over ~30 minutes
  5. Persist
    Exhaust Grafana server memory
  6. Impact
    Crash 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.

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

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

Alert me

AnalysisAIv1 – 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

Grafana OSS 8.0.0 ≤11.6.14
Grafana OSS 12.2.8 <12.2.8+security-04
Grafana OSS 12.3.0 ≤12.3.6
Grafana OSS 12.0.0 ≤12.2.8
Grafana OSS 12.3.6 <12.3.6+security-04
Grafana OSS 12.4.0 ≤12.4.3
Grafana OSS 13.0.0 ≤13.0.1
Grafana OSS 12.4.3 <12.4.3+security-02
Grafana OSS 13.0.1 <13.0.1+security-01
Grafana OSS 11.6.14 <11.6.14+security-04

Affected Packages

euvd grafana_oss fix: 11.6.14+security-04, 12.2.8+security-04, 12.3.6+security-04, 12.4.3+security-02, 13.0.1+security-01

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

Vendor (GRAFANA) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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

Lifecycle Timeline

1
Patch available
May 13, 2026 - 21:02 EUVD

DescriptionCVE.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

EPSS Score
0.0%
Top 88% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor 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.0%
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
Medium
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: 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

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