Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain data-source management privilege
-
DeliveryConfigure ES|QL data source with attacker S3 endpoint
-
ExploitTrigger storage request to custom endpoint
-
ExecutionCredentials/workload-identity tokens sent to attacker host
-
ImpactAccess cloud resources outside Elasticsearch
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated user with data-source management privileges (PR:H) who can configure a custom endpoint on an ES|QL S3 data source; the flaw is that the intended host restriction on that endpoint is not enforced, allowing the custom S3 endpoint to be set to an attacker-controlled host. Full impact differs by deployment: self-managed deployments are exposed only via the storage-endpoint path (leaking storage credentials), whereas opted-in commercial Elastic Cloud Hosted deployments can additionally disclose workload-identity tokens and expose customer cloud resources outside Elasticsearch. Limiting factors: the required privileged role, the need to set a non-default/custom endpoint, and the extended cloud-token exposure being conditional on the commercial Elastic Cloud Hosted opt-in; the storage-endpoint path does not require that opt-in. |
| Impact | This is a credential-exfiltration SSRF (CWE-918) in Elasticsearch ES|QL data sources, rated CVSS 6.8 (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N). The signals are internally consistent and point to a moderate, authenticated-insider/privilege-abuse risk rather than a mass-exploitation emergency: PR:H confirms the attacker must already hold data-source management privileges, which sharply narrows the population of potential abusers and is the single biggest limiting factor. S:C and C:H reflect that exploitation crosses a trust boundary - storage credentials (and, on opted-in Elastic Cloud Hosted deployments, workload-identity tokens) leak to an attacker-controlled host, exposing resources outside Elasticsearch itself. No EPSS score was provided in the input, and the vulnerability is not on CISA KEV, so there is no evidence of active exploitation; the only reference is an Elastic advisory, not proof-of-concept exploit code. The vendor/triage Decision label is 'this_month', consistent with a serious-but-not-emergency bug requiring a privileged actor. Net: a genuine priority to patch on a normal cycle, but not a drop-everything internet-facing zero-day - the PR:H precondition keeps real-world risk below what the C:H/S:C impact alone might suggest. |
| Exploit ScenarioDerived | An actor holding data-source management privileges configures an ES|QL data source with a custom S3 endpoint pointing at a host they control, because the intended host restriction is not enforced. When Elasticsearch issues storage requests, it transmits the storage credentials to that attacker endpoint; on opted-in Elastic Cloud Hosted deployments it may additionally surrender workload-identity tokens that reach customer cloud resources beyond Elasticsearch. No public exploit code is identified, and the network vector is gated by the required management privilege and the ability to set a non-default endpoint. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 23, 2026
Server-side request forgery in Elasticsearch ES|QL S3 data sources lets a user who already holds data-source management privileges configure a custom S3 endpoint that bypasses the intended host restriction, so requests carrying storage credentials are sent to an attacker-controlled host. The result is credential exfiltration rather than code execution: self-managed deployments are exposed through the storage-endpoint path only, while opted-in commercial Elastic Cloud Hosted deployments can additionally leak workload-identity tokens and reach customer cloud resources outside Elasticsearch. The flaw is rated CVSS 6.8 (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N); the required privileged role, the need to set a non-default custom endpoint, and the Cloud Hosted commercial opt-in limit reachability, and no public exploit code or confirmed active exploitation was identified at time of analysis.
RemediationAI
No vendor-released fixed version is listed in the available data, so treat the vendor advisory at https://discuss.elastic.co/t/391835 as the authoritative source for patched versions and upgrade guidance. Until an upgrade path is confirmed, reduce exposure by acting on the prerequisites the assessment identifies: restrict data-source management privileges to a small set of trusted administrators, since the flaw requires PR:H, and audit existing ES|QL S3 data sources for non-default, custom endpoint values that were not deliberately provisioned - removing an unjustified custom endpoint eliminates the attack path at the cost of any workflow that genuinely depends on a non-standard S3 endpoint. On Elastic Cloud Hosted the extended impact (workload-identity token disclosure, access to customer cloud resources) is conditional on the commercial opt-in, so deployments that have not opted in carry only the storage-endpoint exposure; where the opt-in is in use, constrain the cloud-side permissions granted through workload identity to least privilege so a leaked token reaches as little as possible, accepting reduced functionality for integrations that relied on broader access.
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 ES|QL supports external data sources backed by object storage, including S3, where an administrator supplies an endpoint, credentials and related connection settings. The endpoint setting is supposed to be validated against an allowed host restriction, but that restriction is not enforced, which is the classic CWE-918 server-side request forgery pattern: the server itself performs a request to a destination the attacker chose, and because the S3 request includes storage credentials those secrets travel to the attacker's host. The scope-change metric (S:C) reflects that the impact escapes the Elasticsearch component boundary - on opted-in commercial Elastic Cloud Hosted deployments the same path can disclose workload-identity tokens and expose customer cloud resources outside Elasticsearch. The CPE cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:* confirms Elasticsearch as the affected product; exact version ranges are not enumerated in the provided data and the advisory is the authoritative source. The trigger is a privileged configuration action on a data source, not an unauthenticated network request, and the extended token disclosure is conditional on the Cloud Hosted commercial opt-in whereas the storage-credential path applies to self-managed deployments as well.
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:H/UI:N/S:C/C:H/I:N/A:N
PR:H because data-source management privileges are required; S:C and C:H because credentials/tokens leak to resources outside Elasticsearch; no integrity or availability impact.
Primary rating from Vendor (elastic).
CVSS VectorVendor: elastic
DescriptionCVE.org
Unconstrained S3 endpoint settings in Elasticsearch ES|QL data sources can cause requests containing storage credentials to be sent to an attacker-controlled host. A user with data-source management privileges can configure a custom endpoint without the intended host restriction. On opted-in commercial Elastic Cloud Hosted deployments, the issue can also disclose workload-identity tokens and expose customer cloud resources outside Elasticsearch. Self-managed deployments are affected by the storage-endpoint path only.
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
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
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-133417
GHSA-wvww-2fq4-fxj2
NVD
CVE.org
EPSS
Exploit-DB