# CVE-2026-21723: CVE-2026-21723 Record

> Attackers can crash Grafana by mass-executing templates via an unauthenticated endpoint, causing out-of-memory errors.

- **Severity:** Medium 5.3 (`CVSS:3.1/AV:N/AC:H/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:** 23 Jul 2026
- **Updated:** 27 Aug 2026
- **Also known as:** BIT-grafana-2026-21723, GHSA-xcrm-48rh-35pj, MINI-2f3q-xwp6-mmvx, MINI-65xq-j6q8-g7qc, MINI-7w55-xg78-h299, MINI-9pxp-r7vx-26j8, MINI-fxqp-9xm9-v346, MINI-h4j3-8vf5-px9p, MINI-h677-78f8-5g7j, MINI-mg6c-qwpr-5243, MINI-mvgc-4h5f-vrp7, MINI-p563-r8rr-4hjc, MINI-qj7w-2q6w-m5cg, MINI-rw45-3vxq-pv35, MINI-v826-2fw9-h358, MINI-w643-528w-cw4h

## What is CVE-2026-21723?

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

### Official description

The alertmanager templates test endpoint (/api/alertmanager/grafana/config/api/v1/templates/test) can execute templates with no memory limits. Mass-executing templates in a short period causes OOM and crashes the Grafana service. The endpoint requires very low privileges and is exploitable with anonymous access enabled.

Weakness: CWE-400 (Uncontrolled Resource Consumption)

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

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


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `grafana` | Bitnami | From 8.0.0 | 11.6.11, 12.0.10, 12.1.7, 12.2.5, 12.3.3 |

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

Upgrade grafana to a fixed version for your release line: 11.6.11, 12.0.10, 12.1.7 or 12.2.5.

## Is CVE-2026-21723 being exploited?

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

## Fix prompt for AI coding agents

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

What it is: CVE-2026-21723 is a medium-severity denial of service vulnerability in Grafana OSS, published on 23 Jul 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-21723 in the wild and no public exploit code.

Affected packages and fixed versions:
- grafana (Bitnami): affected from 8.0.0; fixed in 11.6.11, 12.0.10, 12.1.7, 12.2.5, 12.3.3

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

## Sources

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

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