# CVE-2026-33378: Grafana Data Source Plugin: DoS (OOM) via Negative Interval Injection in $__timeGroup Macro

> Attackers can cause an out-of-memory crash in Grafana by injecting negative intervals into the timeGroup macro, requiring a SQL datasource.

- **Severity:** Medium 6.5 (`CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 13 May 2026
- **Updated:** 27 Aug 2026
- **Also known as:** BIT-grafana-2026-33378, CLSA-2026-1780478536, GHSA-rr8q-qwrv-9pf6, MINI-26f5-c2v7-qjx9, MINI-2qx3-c8hm-h69p, MINI-76rh-4cmv-chpp, MINI-8rcv-mr9v-vmmr, MINI-9mh6-ggm4-c45v, MINI-g3vp-p34g-43jm, MINI-hf6r-wrxp-rgc4, MINI-jcg3-6xgm-vghm, MINI-jxxq-cm5p-rx6c, MINI-mqmr-7mjh-cmcp, MINI-pqjq-wjh7-798w, MINI-pw84-qrfx-3rmx, MINI-qp8c-gfjp-c2mw, MINI-rqvx-x9hg-693x, MINI-rx3m-q9xv-q6cg, MINI-xqff-cc2m-g5m2, UBUNTU-CVE-2026-33378

## What is CVE-2026-33378?

CVE-2026-33378 is a medium-severity denial of service vulnerability in Grafana Grafana, published on 13 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.

### Official 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.

Weakness: CWE-400 (Uncontrolled Resource Consumption)

## Which versions are affected by CVE-2026-33378?

1 open source package ship an affected version, including grafana. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `grafana` | Bitnami | From 8.0.0 | 11.6.14, 12.2.8, 12.3.6, 12.4.3, 13.0.1 |

Products: Grafana Grafana.

## How do I fix CVE-2026-33378?

Upgrade grafana to a fixed version for your release line: 11.6.14, 12.2.8, 12.3.6 or 12.4.3.

## Is CVE-2026-33378 being exploited?

There is no known exploitation of CVE-2026-33378 in the wild and no public exploit code.

## Other vulnerabilities in Grafana Grafana

- [CVE-2021-43798](https://insights.sbomify.com/CVE-2021-43798/): Grafana Path Traversal (high 7.5, exploited in the wild)
- [CVE-2025-41115](https://insights.sbomify.com/CVE-2025-41115/): Incorrect privilege assignment (critical 10.0)
- [CVE-2022-39328](https://insights.sbomify.com/CVE-2022-39328/): Grafana vulnerable to race condition allowing privilege escalation (critical 9.8)
- [CVE-2022-28660](https://insights.sbomify.com/CVE-2022-28660/): Auth bypass in n/a (critical 9.8)
- [CVE-2022-26148](https://insights.sbomify.com/CVE-2022-26148/): Information disclosure in n/a (critical 9.8)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-33378 and fix it if it is affected.

What it is: CVE-2026-33378 is a medium-severity denial of service vulnerability in Grafana Grafana, published on 13 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-33378 in the wild and no public exploit code.

Affected packages and fixed versions:
- grafana (Bitnami): affected from 8.0.0; fixed in 11.6.14, 12.2.8, 12.3.6, 12.4.3, 13.0.1

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-33378/ (Markdown: https://insights.sbomify.com/CVE-2026-33378/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-33378
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-33378
- OSV: https://osv.dev/vulnerability/CVE-2026-33378

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-33378/
Summaries are generated and may contain mistakes; the official description above is the record.
