Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with inference execution role
-
DeliverySubmit inference request with attacker-controlled endpoint URL
-
ExploitMissing authz check allows destination override
-
ExecutionElasticsearch forwards admin credentials to attacker server
-
PersistCapture administrator API key/token
-
ImpactAuthenticate to Elasticsearch or upstream AI provider as admin
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires: (1) a valid Elasticsearch user account holding the inference execution privilege role - unauthenticated access is not sufficient; (2) the custom inference service feature must be actively configured in the target cluster with administrator-provisioned credentials, as clusters using only built-in or Elastic-managed inference endpoints are not affected; (3) network access to the Elasticsearch API (default port 9200/9243). What limits exploitation: the attacker must already be an authenticated internal user; the custom inference service must be deployed with external-provider credentials; and the attack is not automatable at scale (SSVC: Automatable: no) since it requires per-cluster credential harvesting. Organizations running Elasticsearch solely for search or log analytics without third-party inference integrations face no exposure from this CVE. |
| Impact | CVSS rates this 7.1 (High) with AV:N/AC:L/PR:L, reflecting network reachability from any low-privilege account and no special attack complexity once authenticated. C:H is appropriate because the credential exposure can yield administrator-level secrets. However, real-world risk is materially lower than the base score suggests: EPSS is 0.17% (6th percentile), SSVC flags exploitation as 'none' and automatable as 'no', and no KEV listing or public PoC exists. Critically, the attack requires (a) an authenticated user account with inference execution privileges and (b) the custom inference service to be configured and in active use - neither is universal across Elasticsearch deployments. Organizations not using the custom inference endpoint feature are not exposed. The combination of required authentication, non-default feature dependency, and absence of any observed exploitation makes this a medium operational priority despite the High CVSS score - most urgency applies to Elasticsearch deployments actively using externally-integrated custom inference services. |
| Exploit ScenarioDerived | An attacker with a low-privilege Elasticsearch account bearing the inference execution role crafts a request to the custom inference API, substituting the legitimate inference endpoint URL with an attacker-controlled server. Elasticsearch's missing authorization check allows this substitution to proceed, causing the next inference call to POST to the attacker's server - complete with the administrator-provisioned API key or token in the authorization header. The attacker captures these credentials and uses them to authenticate as an administrator against Elasticsearch or the upstream AI provider. No public exploit code has been identified, but the attack requires only standard HTTP tooling and a valid low-privilege account. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Sep 02, 2026
Missing authorization in Elasticsearch's custom inference service allows a low-privileged user holding only inference execution rights to redirect outbound inference traffic to an attacker-controlled endpoint, causing administrator-provisioned credentials to leak to that destination. Affected across the 8.x and 9.x branches (Elasticsearch 8.0.0 through 8.19.18, 9.0.0 through 9.3.7, 9.4.0 through 9.4.3, and 9.5.0), this is a privilege-abuse path where an underprivileged internal user effectively hijacks admin-level secrets without requiring elevated permissions. No public exploit or active exploitation has been identified; EPSS sits at 0.17% and SSVC rates technical impact as partial.
Earlier versions of this analysis (1)
Missing authorization in Elasticsearch's custom inference service allows an authenticated user holding only inference execution privileges to redirect outbound inference traffic to an attacker-controlled destination, exposing administrator-provisioned external API credentials in transit. Vendor advisory ESA-2026-143 confirms fixed versions across the 8.x and 9.x release trains. No public exploit code has been identified and the flaw is absent from CISA KEV, though the real-world impact of credential exposure meaningfully exceeds what the CVSS 5.4 base score alone conveys.
RemediationAI
Upgrade to a patched release: Elasticsearch 8.19.19, 9.3.8, 9.4.4, or 9.5.1, as detailed in the Elastic security update ESA-2026-143 at https://discuss.elastic.co/t/elasticsearch-8-19-19-9-3-8-9-4-4-9-5-1-security-update-esa-2026-143/390094. If immediate patching is not possible, the most effective compensating control is to audit and minimize the set of accounts granted inference execution privileges - any user who does not operationally require this role should have it revoked, reducing the pool of potential abusers. If no business need for custom (externally-hosted) inference endpoints exists, disabling or removing custom inference service configurations eliminates the attack surface entirely; note that this will break any AI/ML pipeline relying on third-party inference providers. Network egress filtering to restrict Elasticsearch nodes from initiating outbound HTTPS connections to arbitrary external destinations can limit the blast radius of credential exposure even if the authorization flaw is triggered, though it may also impair legitimate inference traffic.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Elasticsearch's inference service framework (cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*) allows operators to configure custom inference endpoints backed by external AI or ML providers, with administrator-supplied credentials (API keys, tokens) stored and forwarded per request. CWE-862 (Missing Authorization) describes a code path that fails to verify whether the calling user is authorized to alter or specify the outbound destination of those inference calls. CAPEC-122 (Privilege Abuse) applies because the attacker operates within the system legitimately - they hold a valid inference execution role - but exploit the missing check to reach resources (admin credentials) that their role should not expose. The attack is essentially a server-side-request-redirection primitive that leaks secrets: the inference subsystem forwards its credential header to whatever endpoint the low-privileged user supplies.
Know when Elasticsearch gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
PR:L for required inference-role account; C:H for admin credential exposure; I:L for traffic redirection; A:N as availability is unaffected.
Primary rating from Vendor (elastic).
CVSS VectorNVD
Lifecycle Timeline
4DescriptionNVD
Missing Authorization (CWE-862) in the Elasticsearch custom inference service can lead to information disclosure via Privilege Abuse (CAPEC-122). A user holding only inference execution privileges could cause outbound inference traffic to be directed to a destination of their choosing and could cause administrator-provisioned credentials to be exposed.
Executive ViewAI
Elasticsearch versions 8.x and 9.x contain an authorization flaw in the custom inference service that allows authenticated internal users to intercept administrator credentials and redirect them to attacker-controlled systems. This privilege-escalation mechanism enables low-level employees, contractors, or compromised accounts to extract secrets necessary to compromise the entire Elasticsearch infrastructure. Organizations relying on Elasticsearch for data management or analytics face a material risk of infrastructure takeover, with no current vendor patch available to remediate this gap.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network egress from Elasticsearch nodes to only approved inference endpoints via firewall rules; (2) Implement least-privilege access controls limiting inference service permissions to role-based requirements only; (3) Immediately rotate all administrator credentials accessible through inference configurations; (4) Enable comprehensive audit logging and configure real-time alerts for inference service configuration changes; (5) Disable custom inference entirely if not mission-critical pending patch availability; (6) Implement network segmentation isolating Elasticsearch from external networks.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Elasticsearch
View allThe Groovy scripting engine in Elasticsearch before 1.3.8 and 1.4.x before 1.4.3 allows remote attackers to bypass the s
The default configuration in Elasticsearch before 1.2 enables dynamic scripting, which allows remote attackers to execut
Directory traversal vulnerability in Elasticsearch before 1.6.1 allows remote attackers to read arbitrary files via unsp
Directory traversal vulnerability in Elasticsearch before 1.4.5 and 1.5.x before 1.5.2, when a site plugin is enabled, a
A flaw was discovered in Elasticsearch, affecting the _search API that allowed a specially crafted query string to cause
Maliciously crafted on-chain account names processed by Klever-Go prior to 1.7.20 are spliced into Elasticsearch _bulk r
All versions of Elastic Cloud Enterprise has the Elasticsearch “anonymous” user enabled by default in deployed clusters.
A memory disclosure vulnerability was identified in Elasticsearch 7.10.0 to 7.13.3 error reporting. Rated medium severit
Remote code execution in Elasticsearch's machine learning component allows an authenticated user with ML model deploymen
Heap corruption and potential remote code execution in Elasticsearch's native ML inference engine can be triggered by an
The fix for CVE-2020-7009 was found to be incomplete. Rated high severity (CVSS 8.8), this vulnerability is remotely exp
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
EUVD-2026-69570
GHSA-876r-2mv4-qm43
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB