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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Grafana | Grafana OSS | 8.0.0 – ≤ 11.0.0, 11.0.0 – ≤ 11.6.10, 12.0.0 – ≤ 12.0.9, 12.1.0 – ≤ 12.1.6, 12.2.0 – ≤ 12.2.4, 12.3.0 – ≤ 12.3.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | grafana12.4 | 12.4.10-0.1.hum1 | RHSA-2026:65157 |
| Red Hat Hardened Images 1 | grafana13.1 | 13.1.3-0.5.hum1 | RHSA-2026:63165 |
| Red Hat Hardened Images 1 | grafana13.2 | 13.2.1-0.1.hum1 | RHSA-2026:63164 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | grafana | 12.4.10-150200.3.94.3 | SUSE-SU-2026:4600-1 |
| SLES 15 SP7 | system-user-grafana | 1.0.0-150200.5.8.1 | SUSE-SU-2026:4600-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Multi Linux Manager Tools SLE-Micro-5 | uyuni-tools | 5.2.17-150002.3.20.1 | SUSE-SU-2026:4585-1 |
| SUSE Multi Linux Manager Tools SLE-Micro-5 | venv-salt-minion | 3006.0-150002.5.22.1 | SUSE-SU-2026:4585-1 |
| SUSE Multi Linux Manager Tools SLE-15 | golang-github-prometheus-prometheus | 3.13.2-150002.3.19.1 | SUSE-SU-2026:4585-1 |
| SUSE Multi Linux Manager Tools SLE-15 | grafana | 12.4.10-150002.4.27.1 | SUSE-SU-2026:4585-1 |
| SUSE Multi Linux Manager Tools SLE-15 | mgr-push | 5.2.5-150002.3.12.1 | SUSE-SU-2026:4585-1 |
| SUSE Multi Linux Manager Tools SLE-15 | spacecmd | 5.2.10-150002.3.15.1 | SUSE-SU-2026:4585-1 |
| SUSE Multi Linux Manager Tools SLE-15 | spacewalk-client-tools | 5.2.7-150002.3.12.1 | SUSE-SU-2026:4585-1 |
| SUSE Multi Linux Manager Tools SLE-15 | uyuni-tools | 5.2.17-150002.3.20.1 | SUSE-SU-2026:4585-1 |
| SUSE Multi Linux Manager Tools SLE-15 | venv-salt-minion | 3006.0-150002.5.22.1 | SUSE-SU-2026:4585-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | grafana | 12.4.5-4.1 | openSUSE-SU-2026:11619-1 |
| openSUSE Leap 16.0 | grafana | 12.4.10-bp160.1.1 | openSUSE-SU-2026:22125-1 |
Advisories 8
- RHSA-2026:63164 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- RHSA-2026:63165 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- WID-SEC-2026-2490 Grafana: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Oct 20, 2026
- openSUSE-SU-2026:22125-1 Security update for grafana SUSE / openSUSE Security Updates · Oct 20, 2026
- RHSA-2026:65157 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- SUSE-SU-2026:4600-1 Security update for grafana, system-user-grafana SUSE / openSUSE Security Updates · Oct 9, 2026
- SUSE-SU-2026:4585-1 Security update 5.2.1 for Multi-Linux Manager Client Tools SUSE / openSUSE Security Updates · Oct 8, 2026
- openSUSE-SU-2026:11619-1 grafana-12.4.5-4.1 on GA media SUSE / openSUSE Security Updates · Aug 28, 2026
References
- https://grafana.com/security/security-advisories/cve-2026-21723 vendor-advisory