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.

Severity (CVSS)

Base score5.3
SeverityMedium
VersionCVSS 3.1
VectorCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Provided byCNA

Affected products

VendorProductVersions
GrafanaGrafana OSS8.0.0 to <=11.0.0; 11.0.0 to <=11.6.10; 12.0.0 to <=12.0.9; 12.1.0 to <=12.1.6; 12.2.0 to <=12.2.4; 12.3.0 to <=12.3.2

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 23 Jul 2026 07:04 UTC.