All reports
Medium

elasticsearch: Elasticsearch: Denial of Service via excessive memory allocation during index template retrieval

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-102411

Probability of exploitation in the next 30 days: 0.31%

FIRST EPSS · 2026-11-22

Description

Allocation of Resources Without Limits or Throttling (CWE-770) in Elasticsearch can lead to Denial of Service via Excessive Allocation (CAPEC-130). Elasticsearch enforces a size limit on the user-supplied metadata field for each individual template resource, but does not limit the total memory used when multiple such resources are retrieved together. A user holding the manage_index_templates cluster privilege can register multiple resources each within the individual limit. Retrieving them together materializes all of their metadata values in memory at once, exhausting available heap and causing the affected node to fail with an out-of-memory error, resulting in a denial of service.

A flaw was found in Elasticsearch. An authenticated user with index template management privileges can cause a Denial of Service (DoS) by registering multiple template resources and requesting them together. Although size limits exist for individual metadata entries, the system does not restrict cumulative memory consumption when retrieving multiple resources at once. This can exhaust available memory and cause the affected node to crash.