Description
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.
Published: 2026-05-13
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Using the $__timeGroup macro, an attacker can inject a negative interval that forces the SQL data source to repeatedly execute identical queries. The resulting prolonged memory consumption causes the Grafana server to run out of memory and enter an out‑of‑memory state. This denial of service manifests after a sustained period of resource usage and can take up to half an hour to crash the server. The impact is a temporary loss of availability; if the server is configured to auto‑restart, the effect is mitigated.

Affected Systems

Grafana OSS installations that expose a SQL data source and employ the $__timeGroup macro in dashboards are vulnerable. All releases that include this macro should be considered at risk until an update is applied, as no specific version is listed.

Risk and Exploitability

The CVSS score of 6.5 indicates moderate severity. The EPSS score is not available, and the vulnerability is not listed in the KEV catalog. Exploitation requires the ability to define or modify a query that uses the macro, which typically necessitates authenticated dashboard or query‑building privileges. Based on the description, it is inferred that an attacker needs such privileges. The attack can be carried out from within the Grafana UI, representing an internal or local threat that primarily compromises availability through resource exhaustion.

Generated by OpenCVE AI on May 13, 2026 at 22:06 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Grafana OSS update when a security patch is released.
  • Disable or restrict the use of the $__timeGroup macro for users who do not need it, or remove it from publicly accessible dashboards.
  • Set up monitoring alerts for abnormal memory usage or repeated out‑of‑memory errors to detect ongoing attacks promptly.

Generated by OpenCVE AI on May 13, 2026 at 22:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 28 May 2026 19:00:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*
cpe:2.3:a:grafana:grafana:11.6.14:-:*:*:*:*:*:*
cpe:2.3:a:grafana:grafana:11.6.14:security01:*:*:*:*:*:*
cpe:2.3:a:grafana:grafana:12.2.8:-:*:*:*:*:*:*
cpe:2.3:a:grafana:grafana:12.2.8:security01:*:*:*:*:*:*
cpe:2.3:a:grafana:grafana:12.3.6:-:*:*:*:*:*:*
cpe:2.3:a:grafana:grafana:12.3.6:security01:*:*:*:*:*:*
cpe:2.3:a:grafana:grafana:12.4.3:-:*:*:*:*:*:*
cpe:2.3:a:grafana:grafana:13.0.0:*:*:*:*:*:*:*
cpe:2.3:a:grafana:grafana:13.0.1:-:*:*:*:*:*:*

Thu, 14 May 2026 14:15:00 +0000

Type Values Removed Values Added
First Time appeared Grafana
Grafana grafana
Vendors & Products Grafana
Grafana grafana

Thu, 14 May 2026 13:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 13 May 2026 22:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-400

Wed, 13 May 2026 20:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Grafana Data Source Plugin: DoS (OOM) via Negative Interval Injection in $__timeGroup Macro
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GRAFANA

Published:

Updated: 2026-05-14T12:33:58.842Z

Reserved: 2026-03-19T07:55:06.977Z

Link: CVE-2026-33378

cve-icon Vulnrichment

Updated: 2026-05-14T12:33:55.700Z

cve-icon NVD

Status : Analyzed

Published: 2026-05-13T20:16:20.583

Modified: 2026-05-28T19:00:01.283

Link: CVE-2026-33378

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-14T14:00:19Z

Weaknesses