CVE-2026-21723

CVE-2026-21723 Record

Published Jul 23, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerable endpoint (/api/alertmanager/grafana/config/api/v1/templates/test) allows the execution of arbitrary templates without any memory restrictions. When an attacker submits a large or complex set of templates, Grafana can run out of memory, triggering a crash that disables the service and its dashboards.

Affected Systems

All Grafana Open Source Edition deployments that expose the Alertmanager template test endpoint are susceptible. The advisory does not list specific version ranges, so any version that has not applied the latest fix may be affected.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity. The EPSS score of less than 1% suggests a low probability of current exploitation. Grafana is not in the CISA KEV catalog. The likely attack vector is remote HTTP, inferred from the description that the vulnerable endpoint is accessed over HTTP; the endpoint requires only low privileges and even anonymous access, making exploitation trivial for an attacker using crafted template payloads to cause a crash.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Grafana OSS to the latest release that includes the CVE‑2026‑21723 fix.
  • If an upgrade is unavailable, disable anonymous access or restrict the /api/alertmanager/grafana/config/api/v1/templates/test endpoint via Grafana's role‑based access controls or firewall rules.
  • Configure resource limits or enforce memory caps on the Grafana process to prevent a single template request from exhausting memory and consider disabling the template test feature if not needed.

Generated by OpenCVE AI on August 4, 2026 at 15:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Grafana
Grafana grafana
Vendors & Products Grafana
Grafana grafana
Type Values Removed Values Added
Weaknesses CWE-400
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title CVE-2026-21723 Record
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
GRAFANA
Published
Updated
Aug 27, 2026, 5:22 PM
Reserved
Jan 5, 2026, 9:26 AM
Status
Deferred
Published
Jul 23, 2026, 3:16 AM
Modified
Oct 24, 2026, 1:10 PM
Severity
Moderate
Public date
Jul 23, 2026, 1:48 AM