Skip to main content

Elasticsearch CVE-2026-56148

| EUVDEUVD-2026-41065 MEDIUM
Uncontrolled Recursion (CWE-674)
2026-07-01 security@elastic.co GHSA-j6j2-p5xw-w2j8
6.5
CVSS 3.1 · Vendor: elastic
Share

Severity by source

Vendor (elastic) PRIMARY
6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI
6.5 MEDIUM

Network-reachable query API, low privilege required, availability-only impact; no confidentiality or integrity loss applies.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (elastic).

CVSS VectorVendor: elastic

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

1
Analysis Generated
Jul 01, 2026 - 17:42 vuln.today

DescriptionCVE.org

Uncontrolled Recursion (CWE-674) in Elasticsearch can lead to a denial of service via Excessive Allocation (CAPEC-130). An authenticated user can submit a specially crafted query that causes excessive resource consumption while the request is processed, which may render the affected node unavailable.

AnalysisAI

Denial of service in Elasticsearch allows any authenticated user to crash an affected cluster node by submitting a specially crafted query that triggers uncontrolled recursion during query processing. Excessive resource consumption during request handling can render the targeted node unavailable, disrupting search and indexing operations for all dependent applications. No public exploit code has been identified at time of analysis, and the vulnerability is not listed in the CISA KEV catalog; however, the low privilege requirement makes it accessible to any user with query access.

Technical ContextAI

Elasticsearch is a widely-deployed distributed search and analytics engine built on Apache Lucene. This vulnerability (CWE-674: Uncontrolled Recursion) occurs within the query processing pipeline: a crafted query structure causes the parser or execution engine to recurse without adequate depth bounds, leading to excessive heap or stack allocation (CAPEC-130: Excessive Allocation). The CVSS vector AV:N/AC:L/PR:L confirms the flaw is reachable over the network by any authenticated user with query privileges, requiring no special configuration. The scope is unchanged (S:U), meaning the impact is confined to the affected node rather than propagating to the broader cluster at the OS or hypervisor level, though in practice a downed node degrades cluster availability.

RemediationAI

Upgrade Elasticsearch to version 8.19.17 (for 8.x deployments), 9.3.6, or 9.4.3 (for 9.x deployments) as documented in Elastic Security Advisory ESA-2026-42 at https://discuss.elastic.co/t/elasticsearch-8-19-17-9-3-6-9-4-3-security-update-esa-2026-42. If immediate patching is not possible, restrict query API access to trusted, known-good service accounts and remove query privileges from non-essential users - this reduces the attacker pool but does not eliminate risk from compromised or malicious authorized accounts. Network-layer controls such as placing Elasticsearch behind an API gateway or firewall that limits query endpoint access to specific source IPs can further constrain exposure. Query complexity limits or circuit breakers, if configurable in the deployed version, should be reviewed and tightened as a compensating control; note that overly aggressive circuit breaker settings may also impact legitimate heavy queries.

CVE-2015-5531 MEDIUM POC
5.0 Aug 17

Directory traversal vulnerability in Elasticsearch before 1.6.1 allows remote attackers to read arbitrary files via unsp

CVE-2015-3337 MEDIUM POC
4.3 May 01

Directory traversal vulnerability in Elasticsearch before 1.4.5 and 1.5.x before 1.5.2, when a site plugin is enabled, a

CVE-2023-31419 HIGH
7.5 Oct 26

A flaw was discovered in Elasticsearch, affecting the _search API that allowed a specially crafted query string to cause

CVE-2021-22146 HIGH POC
7.5 Jul 21

All versions of Elastic Cloud Enterprise has the Elasticsearch “anonymous” user enabled by default in deployed clusters.

CVE-2021-22145 MEDIUM POC
6.5 Jul 21

A memory disclosure vulnerability was identified in Elasticsearch 7.10.0 to 7.13.3 error reporting. Rated medium severit

CVE-2026-72642 HIGH
8.8 Aug 13

Heap corruption and potential remote code execution in Elasticsearch's native ML inference engine can be triggered by an

CVE-2020-7014 HIGH
8.8 Jun 03

The fix for CVE-2020-7009 was found to be incomplete. Rated high severity (CVSS 8.8), this vulnerability is remotely exp

CVE-2020-7009 HIGH
8.8 Mar 31

Elasticsearch versions from 6.7.0 before 6.8.8 and 7.0.0 before 7.6.2 contain a privilege escalation flaw if an attacker

CVE-2018-3831 HIGH
8.8 Sep 19

Elasticsearch Alerting and Monitoring in versions before 6.4.1 or 5.6.12 have an information disclosure issue when secre

CVE-2019-7611 HIGH
8.1 Mar 25

A permission issue was found in Elasticsearch versions before 5.6.15 and 6.6.1 when Field Level Security and Document Le

CVE-2015-4165 HIGH
7.5 Aug 09

The snapshot API in Elasticsearch before 1.6.0 when another application exists on the system that can read Lucene files

CVE-2023-46674 HIGH
7.8 Dec 05

An issue was identified that allowed the unsafe deserialization of java objects from hadoop or spark configuration prope

Share

CVE-2026-56148 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy