CVE-2026-56149: Elasticsearch Machine Learning DoS via Resource Exhaustion
A vulnerability in Elasticsearch allows users with administrative or elevated privileges to crash an Elasticsearch node by submitting a malicious machine learning request. The attack causes the affected node to consume excessive memory until it becomes unavailable, effectively denying service to legitimate users. This is a resource exhaustion issue that requires elevated permissions to exploit, limiting its immediate blast radius but still posing operational risk in multi-tenant or shared Elasticsearch environments.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 4.9 MEDIUM · CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
- Weaknesses (CWE)
- CWE-770
- Affected products
- 1 configuration(s)
- Published / Modified
- 2026-07-01 / 2026-07-02
NVD description (verbatim)
Allocation of Resources Without Limits or Throttling (CWE-770) in Elasticsearch can lead to a denial of service via Excessive Allocation (CAPEC-130). A user with elevated privileges can submit a specially crafted machine learning request that causes excessive memory consumption, which may render the affected node unavailable.
1 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-56149 is a Denial of Service (DoS) vulnerability classified as CWE-770 (Allocation of Resources Without Limits or Throttling). An attacker with elevated privileges can craft a specially constructed machine learning API request that bypasses resource allocation controls within Elasticsearch, triggering unbounded memory consumption on the targeted node. Once memory exhaustion occurs, the node becomes unresponsive and requires manual intervention to recover. The vulnerability affects the machine learning subsystem's request handling logic and highlights insufficient input validation or resource quota enforcement for privileged operations.
Business impact
An attacker with administrative credentials or elevated machine learning permissions can selectively down individual Elasticsearch nodes, fragmenting cluster capacity and degrading search and analytics performance. In production environments relying on Elasticsearch for real-time search, logging, or security analytics, node unavailability can cascade into service degradation for dependent applications. Recovery requires node restart and cluster rebalancing, creating operational overhead. Organizations with strict SLA requirements or those running single-node development/test clusters face elevated risk, as even one successful attack can result in complete service loss.
Affected systems
The vulnerability affects Elasticsearch instances across versions that contain the affected machine learning resource allocation logic. Only Elasticsearch deployments with machine learning features enabled are directly exposed to the crafted request vector. Verify the exact affected version ranges against the Elasticsearch security advisory, as patch availability and version specificity will be documented there. Self-hosted and cloud-hosted Elasticsearch deployments are both potentially vulnerable if running susceptible versions.
Exploitability
Exploitation requires elevated privileges (PR:H in CVSS terms), meaning the attacker must already possess administrative, machine learning user, or equivalent elevated access to Elasticsearch. This significantly reduces real-world exploitability in well-hardened environments with strong authentication and authorization controls. However, insider threats, compromised service accounts, or inadequate privilege segmentation in large organizations can lower the practical barrier. The attack requires no user interaction and is network-accessible if Elasticsearch is exposed to the attacker's network boundary.
Remediation
Apply the security patch released by Elastic for this vulnerability as soon as possible, prioritizing production Elasticsearch clusters with machine learning workloads and elevated-privilege user accounts. Temporarily mitigate risk by restricting machine learning API access to trusted internal networks only, implementing network segmentation, and auditing which users and service accounts hold elevated machine learning permissions. Consider disabling machine learning features in non-production environments if they are not actively used. Review and enforce principle-of-least-privilege access policies to reduce the number of accounts capable of submitting machine learning requests.
Patch guidance
Monitor the Elasticsearch security advisory and vendor release notes for availability of a patched version. Apply patches to production clusters during a planned maintenance window, testing the update in a staging environment first to ensure compatibility with existing machine learning jobs and dependencies. Rolling restarts across the cluster minimize downtime while patches are deployed. Verify the patch resolves the resource allocation issue by monitoring memory consumption during machine learning operations post-deployment.
Detection guidance
Monitor Elasticsearch logs and metrics for anomalous memory consumption spikes correlated with machine learning API requests. Establish baselines for normal memory usage per machine learning operation type, and alert on sustained memory growth that does not return to baseline after request completion. Enable audit logging on Elasticsearch to track machine learning requests from elevated-privilege users, and cross-reference with memory events. Watch for node unavailability events preceded by machine learning activity. Implement cluster health monitoring to detect when nodes unexpectedly leave the cluster or enter an unresponsive state.
Why prioritize this
Despite a CVSS score of 4.9 (MEDIUM), this vulnerability warrants prompt attention because it directly undermines Elasticsearch cluster availability, a critical capability for organizations relying on it for production search, analytics, or logging pipelines. The requirement for elevated privileges reduces but does not eliminate risk—insider threats, credential compromise, and misconfigured access controls are common in real environments. The ease of causing a denial of service (CWE-770 resource exhaustion) means that even opportunistic attackers with administrative access could weaponize this quickly. Organizations should patch within their standard critical-infrastructure maintenance windows rather than waiting for severity escalation.
Risk score, explained
The CVSS 3.1 score of 4.9 reflects a Medium-severity vulnerability that causes high availability impact (A:H) but requires elevated privileged access (PR:H) and affects availability only, not confidentiality or integrity. The network-accessible attack vector (AV:N) and low attack complexity (AC:L) indicate the exploit is straightforward once privileges are held. The score appropriately penalizes the privilege requirement, but organizations should recognize that insider threats, service account compromise, and inadequate segregation of duties can quickly make this HIGH-impact in practice.
Frequently asked questions
Can an unauthenticated attacker exploit this vulnerability?
No. The vulnerability requires elevated privileges within Elasticsearch, meaning the attacker must possess valid credentials with machine learning user or administrative permissions. Unauthenticated network access to Elasticsearch alone is not sufficient to trigger the flaw.
Does this affect Elasticsearch if machine learning features are not in use?
The vulnerability is triggered via machine learning API requests. Organizations that have not enabled machine learning or that do not allow any users to submit machine learning requests face lower practical risk, though patching remains advisable for defense-in-depth.
Will this vulnerability be added to the CISA Known Exploited Vulnerabilities (KEV) catalog?
As of publication, CVE-2026-56149 is not listed on the CISA KEV catalog, meaning there is no confirmed active exploitation in the wild. However, the straightforward nature of resource exhaustion attacks means that threat actors may develop exploits once patches are publicly released; prioritize patching accordingly.
Can we work around this without patching?
Temporary mitigations include network segmentation to limit machine learning API access to trusted hosts, restricting which users can submit machine learning requests via role-based access control, and disabling machine learning features if not required. However, these are interim measures and not substitutes for applying the official patch.
This analysis is based on the vulnerability description and CVSS scoring data provided. Verify all patch availability, version ranges, and remediation steps against the official Elasticsearch security advisory and vendor documentation. The characterization of exploitability and impact reflects general threat modeling; your organization's actual risk depends on network topology, access controls, and asset criticality. No exploit code or proof-of-concept is provided. This document is for informational and educational purposes to support security decision-making and should not be construed as legal or technical support advice. Source: NVD (public-domain), retrieved 2026-08-10. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-49087MEDIUMKibana Denial of Service via Bulk Deletion Resource Exhaustion
- CVE-2026-56150MEDIUMFleet Server Denial of Service via Uncontrolled Resource Allocation
- CVE-2024-54178MEDIUMIBM Db2 Cloud Pak for Data Denial of Service via Resource Allocation Flaw
- CVE-2025-36319MEDIUMIBM watsonx.data Intelligence DoS Vulnerability
- CVE-2026-10533MEDIUMOpenShift ResourceQuota Bypass Leads to API Server DoS
- CVE-2026-10740MEDIUMs2n-quic Memory Allocation DoS – QUIC CRYPTO Frame Reassembler
- CVE-2026-12760MEDIUMTP-Link Tapo C200 v3 IPv4 Fragmentation DoS Vulnerability
- CVE-2026-14362MEDIUMHashiCorp Memberlist Denial of Service Vulnerability