# CVE-2026-27879: Query resampling can cause unbounded memory allocations

> Attackers can trigger out-of-memory crashes in Grafana by sending resample queries, causing a denial of service.

- **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:** 27 Mar 2026
- **Updated:** 27 Aug 2026
- **Also known as:** BIT-grafana-2026-27879, GHSA-4368-7mjc-5763, MINI-2342-wmfc-g9c7, MINI-5xvw-w79h-mv24, MINI-68vj-5fgv-7975, MINI-6r65-mcc9-j5ph, MINI-7pf9-px9w-hjmf, MINI-7q5w-rhm5-9ffv, MINI-986c-jvv6-xxx2, MINI-9xw5-7pf8-qc32, MINI-f253-w2p4-6pj3, MINI-h672-qrw8-w2m4, MINI-jfpv-7mqp-vx9p, MINI-jg6f-7jr9-crh8, MINI-vrgc-xg33-gc7p, MINI-wcj8-mvgr-5rjh, MINI-x6gf-6x4p-xf62, MINI-xm8j-pxff-9p4v, UBUNTU-CVE-2026-27879

## What is CVE-2026-27879?

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

### Official description

A resample query can be used to trigger out-of-memory crashes in Grafana.

Weakness: CWE-787 (Out-of-bounds Write), CWE-400 (Uncontrolled Resource Consumption)

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

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.1.10, 12.2.8, 12.3.6, 12.4.2 |

Products: Grafana Grafana.

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

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

## Is CVE-2026-27879 being exploited?

There is no known exploitation of CVE-2026-27879 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-27879 and fix it if it is affected.

What it is: CVE-2026-27879 is a medium-severity denial of service vulnerability in Grafana Grafana, published on 27 Mar 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-27879 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.1.10, 12.2.8, 12.3.6, 12.4.2

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-27879/ (Markdown: https://insights.sbomify.com/CVE-2026-27879/index.md)
```

## Sources

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

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