Memory exhaustion denial of service in Elasticsearch data source index patterns
- Advisory ID:
- CVE-2026-81843
- Published:
- 2026-11-10
- Product:
- Grafana
- CVSS Score:
- 6.5
- CVSS Vector:
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Fixed Versions:
- >=12.4.15
Summary
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.
The Elasticsearch data source plugin, which Grafana 13.0 and later install in place of the built-in data source, is fixed in version 12.9.6.
Thanks to khanmarshal for reporting this vulnerability to us via our bug bounty program.