Elasticsearch Datasource
Monthly
The Elasticsearch data source resource proxy in Grafana forwards the caller-supplied HTTP method and path to the backing Elasticsearch cluster using the data source's own stored credentials, so an authenticated Grafana user who is permitted to query that data source can perform operations the plugin never intended to expose - altering index mappings or reaching other indices on the same cluster. Both Grafana OSS/Enterprise and the standalone Elasticsearch Datasource plugin are affected, with confidentiality rated High because data from the widened request is returned to the attacker. The vendor has released a patch and no public exploit code was identified at the time of analysis; real-world impact is bounded by how much the data source's Elasticsearch credentials are allowed to do, so a read-only, single-index service account sharply reduces the blast radius. This is tracked as a this_week priority item rather than an emergency.
Grafana's Elasticsearch data source can be driven into memory exhaustion by any authenticated user who is allowed to query that data source - including a user holding only the default Viewer role - because index names are generated for every interval in the requested time range with no upper bound. A single small query carrying an extreme time range against a time-based index pattern is enough to allocate memory until the server process is terminated, and the allocation happens before anything is sent to Elasticsearch, so the attack works even when the cluster is unreachable. Grafana OSS and Enterprise 11.6.0 through 11.6.16, 12.0.0 through 12.2.10, and 12.3.0 before 12.4.15 are listed as affected, along with the Elasticsearch Datasource component before 12.9.6; data sources configured with a static index name are not affected. A vendor patch is available, exploitation requires an authenticated account (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H), no public exploit code was identified at time of analysis, and the vendor-priority decision is to remediate this month rather than as an emergency.
The Elasticsearch data source resource proxy in Grafana forwards the caller-supplied HTTP method and path to the backing Elasticsearch cluster using the data source's own stored credentials, so an authenticated Grafana user who is permitted to query that data source can perform operations the plugin never intended to expose - altering index mappings or reaching other indices on the same cluster. Both Grafana OSS/Enterprise and the standalone Elasticsearch Datasource plugin are affected, with confidentiality rated High because data from the widened request is returned to the attacker. The vendor has released a patch and no public exploit code was identified at the time of analysis; real-world impact is bounded by how much the data source's Elasticsearch credentials are allowed to do, so a read-only, single-index service account sharply reduces the blast radius. This is tracked as a this_week priority item rather than an emergency.
Grafana's Elasticsearch data source can be driven into memory exhaustion by any authenticated user who is allowed to query that data source - including a user holding only the default Viewer role - because index names are generated for every interval in the requested time range with no upper bound. A single small query carrying an extreme time range against a time-based index pattern is enough to allocate memory until the server process is terminated, and the allocation happens before anything is sent to Elasticsearch, so the attack works even when the cluster is unreachable. Grafana OSS and Enterprise 11.6.0 through 11.6.16, 12.0.0 through 12.2.10, and 12.3.0 before 12.4.15 are listed as affected, along with the Elasticsearch Datasource component before 12.9.6; data sources configured with a static index name are not affected. A vendor patch is available, exploitation requires an authenticated account (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H), no public exploit code was identified at time of analysis, and the vendor-priority decision is to remediate this month rather than as an emergency.