CVE-2026-81843: Grafana Elasticsearch Datasource

Medium severity, CVSS 6.5. EPSS: 0.4% probability of exploitation activity in the next 30 days.

Grafana is an open-source platform for monitoring and observability. When an Elasticsearch data source is configured with a time-based index pattern, Grafana generated one index name for every interval in the requested query time range without any upper limit. A user with permission to query the data source, which includes users holding only the Viewer role in a default configuration, could submit a single small query with an extreme time range and cause the server to allocate memory until it was terminated. The allocation occurred before any request was sent to Elasticsearch, so the condition applied whether or not the Elasticsearch cluster was reachable. Data sources configured with a static index name are not affected.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Grafana Elasticsearch Datasource, from 12.4.2, before 12.9.6: fixed in 12.9.6
  • Grafana Enterprise, from 12.3.0, before 12.4.15: fixed in 12.4.15
  • Grafana OSS, from 12.3.0, before 12.4.15: fixed in 12.4.15

Affected products

  • Grafana Elasticsearch Datasource: from 12.4.2, before 12.9.6 (fixed in 12.9.6)
  • Grafana Grafana Enterprise: from 11.6.0, up to and including 11.6.16; from 12.0.0, up to and including 12.2.10; from 12.3.0, before 12.4.15 (fixed in 12.4.15)
  • Grafana Grafana OSS: from 11.6.0, up to and including 11.6.16; from 12.0.0, up to and including 12.2.10; from 12.3.0, before 12.4.15 (fixed in 12.4.15)

Published 2026-11-12. Last modified 2026-11-17.