Bug 2565138 (CVE-2026-81843)

Summary: CVE-2026-81843 grafana: ELASTICSEARCH DATA SOURCE COULD EXHAUST GRAFANA'S MEMORY
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: amctagga, aoconnor, bniver, flucifre, gmeno, gparvin, groman, jbalunas, lchilton, mbenjamin, mhackett, rhaigner, rhel-process-autobot, security-response-team, sfeifer, sostapov, tsze, vereddy, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in Grafana. An authenticated remote user with query permissions, such as a Viewer, can cause a Denial of Service (DoS) by submitting an Elasticsearch query that covers an extreme time range. When a time-based index pattern is used, the query expands across an excessive number of indices, which exhausts system memory and crashes the application.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Deadline: 2026-11-10   

Description OSIDB Bzimport 2026-11-02 12:22:34 UTC
CVE-2026-81843: ELASTICSEARCH DATA SOURCE COULD EXHAUST GRAFANA'S MEMORY

Score: 6.5 (MEDIUM) 

Short description of the vulnerability: 

When an Elasticsearch data source used a time-based index pattern, a signed-in user who could query it, including a Viewer, could crash Grafana with a single query covering an extreme time range. The fixed version limits how many indices a pattern can expand to. 

Known mitigations: 

Use a static index name (an alias or wildcard index name) instead of a time-based index pattern on Elasticsearch data sources. 

Affected products and versions: 

Grafana and Grafana Enterprise 12.4.0 to 12.4.14, with an Elasticsearch data source using a time-based index pattern. Versions 12.2.0 to 12.3.11 are also affected; they are end of life and will not receive a fix. On Grafana 13.x the fix ships in the Elasticsearch data source plugin; see the plugin section. 

Affected platforms: 

Self-managed (on-premise)