CVE-2026-21723: Record

Published Jul 23, 2026
·
Updated

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 Software

1 affected component
Grafana

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Disable anonymous access to Grafana so the template test endpoint (/api/alertmanager/grafana/config/api/v1/templates/test) is not reachable by anonymous users.

  2. Compensating control

    Apply access controls to the alertmanager templates test endpoint (/api/alertmanager/grafana/config/api/v1/templates/test) so it is not callable without very low privileges from untrusted networks (e.g., restrict via network/ACL/WAF).

  3. Compensating control

    Add/request rate limiting for requests to the templates test endpoint (/api/alertmanager/grafana/config/api/v1/templates/test) to prevent mass-executing templates in a short period that causes OOM and crashes Grafana.

Event History

Jul 23, 2026
CVE Published
via MITRE·01:48 AM
Data Sourced
via MITRE·01:48 AM
DescriptionSeverity
Data Sourced
via NVD·03:16 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-21723?

The severity of CVE-2026-21723 is medium, rated at 5.3.

2

What impact does CVE-2026-21723 have on Grafana?

CVE-2026-21723 allows for mass execution of templates that can lead to out-of-memory (OOM) conditions and crash the Grafana service.

3

How can I exploit CVE-2026-21723?

CVE-2026-21723 can be exploited by sending requests to the /api/alertmanager/grafana/config/api/v1/templates/test endpoint with low privileges.

4

How do I fix CVE-2026-21723?

To fix CVE-2026-21723, you should implement rate limiting or apply patches provided by Grafana to mitigate the OOM condition.

5

What version of Grafana is affected by CVE-2026-21723?

CVE-2026-21723 affects certain versions of Grafana that expose the vulnerable alertmanager templates test endpoint.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203