CVE-2026-33378

Grafana Data Source Plugin: DoS (OOM) via Negative Interval Injection in $__timeGroup Macro

Published May 13, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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 available
History
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:-:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Grafana
Grafana grafana
Vendors & Products Grafana
Grafana grafana
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Weaknesses CWE-400
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'}

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

Sources

Status
PUBLISHED
Assigner
GRAFANA
Published
Updated
Aug 27, 2026, 5:22 PM
Reserved
Mar 19, 2026, 7:55 AM
Status
Analyzed
Published
May 13, 2026, 8:16 PM
Modified
Oct 26, 2026, 2:10 PM