CVE-2026-33378: Grafana Data Source Plugin: DoS (OOM) via Negative Interval Injection in $__timeGroup Macro
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.
Security readout for executives and security teams
Plain-English summary
An authenticated Grafana user can send a crafted dashboard query that forces the server to consume all available memory, eventually crashing it. The attack takes roughly half an hour, and if Grafana is set to auto-restart the disruption is minor. It affects specific Grafana OSS builds that use a SQL data source.
Executive priority
Moderate priority. Plan a scheduled upgrade during the next maintenance window. Not an emergency: no data loss, no known active exploitation, and auto-restart environments experience minimal disruption. Treat as standard patch hygiene for observability tooling.
Technical view
CVE-2026-33378 is a CWE-400 resource-exhaustion flaw in Grafana OSS. Supplying a negative interval to the $__timeGroup macro on a SQL data source triggers unbounded processing that drives the server toward out-of-memory. CVSS 3.1 is 6.5 (AV:N/AC:L/PR:L/UI:N/A:H). Only availability is impacted; confidentiality and integrity are not affected per the vendor advisory.
Likely exposure
Grafana OSS instances running the listed versions with at least one SQL data source configured and reachable by authenticated users. Exposure is highest where Grafana is internet-exposed, shared broadly across teams, or lacks auto-restart. Internal-only deployments with hardened auth and process supervision see reduced practical exposure.
Exploitation context
No KEV listing and no public exploitation reports referenced in the source bundle. Attack requires low-privileged authenticated access and takes up to about 30 minutes to crash the server, per the vendor description. Impact is limited to availability; auto-restart configurations further reduce observable impact.
Researcher notes
Root cause is a negative interval reaching $__timeGroup macro expansion against a SQL data source, producing runaway resource use consistent with CWE-400. Availability-only impact aligns with CVSS A:H, C:N, I:N. Validate by comparing installed build to the vendor's affected version list; the advisory URL is the authoritative source for fixed versions and any mitigations.
Mitigation direction
Upgrade Grafana OSS to a fixed release per the Grafana security advisory.
Restrict SQL data source query permissions to trusted roles only.
Ensure Grafana runs under a supervisor that auto-restarts on crash.
Limit Grafana network exposure to authenticated internal users where possible.
Monitor Grafana memory usage and alert on sustained growth.
Validation and detection
Inventory Grafana OSS versions and compare against the advisory's affected list.
Identify instances with SQL data sources enabled and enumerate users with query access.
Review Grafana logs and host metrics for unexplained memory spikes or restarts.
Confirm process supervision (systemd, Kubernetes, container runtime) restarts Grafana on OOM.
Re-test dashboards after upgrade to confirm functionality and stable memory.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-400: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-400 · source CWE mapping
Uncontrolled Resource Consumption
Uncontrolled Resource Consumption represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.