← Back to CVE Explorer

CVE-2026-21723

Full vulnerability record from the local CVENow database.

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
MEDIUM
CVSS score
5.3 (v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-07-23 03:16:30
Last modified
2026-10-24 13:10:00.147000
View original CVE JSON
{
  "id": "CVE-2026-21723",
  "sourceIdentifier": "[email protected]",
  "published": "2026-07-23T03:16:30.000",
  "lastModified": "2026-10-24T13:10:00.147",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    },
    {
      "lang": "es",
      "value": "El endpoint de prueba de plantillas de alertmanager (/API/alertmanager/grafana/config/API/v1/templates/test) puede ejecutar plantillas sin límites de memoria. La ejecución masiva de plantillas en un corto período provoca OOM y la caída del servicio de Grafana. El endpoint requiere privilegios muy bajos y es explotable con el acceso anónimo habilitado."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "Grafana",
          "product": "Grafana OSS",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "8.0.0",
              "lessThanOrEqual": "11.0.0",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "11.0.0",
              "lessThanOrEqual": "11.6.10",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "12.0.0",
              "lessThanOrEqual": "12.0.9",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "12.1.0",
              "lessThanOrEqual": "12.1.6",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "12.2.0",
              "lessThanOrEqual": "12.2.4",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "12.3.0",
              "lessThanOrEqual": "12.3.2",
              "versionType": "semver",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H",
          "baseScore": 5.3,
          "baseSeverity": "MEDIUM",
          "attackVector": "NETWORK",
          "attackComplexity": "HIGH",
          "privilegesRequired": "LOW",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "NONE",
          "integrityImpact": "NONE",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 1.6,
        "impactScore": 3.6
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-07-23T14:15:50.650728Z",
          "id": "CVE-2026-21723",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-400"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://grafana.com/security/security-advisories/cve-2026-21723",
      "source": "[email protected]"
    }
  ]
}